# PetscSSLDestroyContext
frees a `SSL_CTX` obtained with `PetscSSLInitializeContext()` 
## Synopsis
```
PetscErrorCode PetscSSLDestroyContext(SSL_CTX *ctx)
```

## Input Parameter

- ***ctx -*** the `SSL_CTX`





## See Also
 `PetscSSLInitializeContext()`, `PetscHTTPSConnect()`

## Level
advanced

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/sys/webclient/client.c.html#PetscSSLDestroyContext">src/sys/webclient/client.c</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/sys/webclient/client.c)


[Index of all Sys routines](index.md)  
[Table of Contents for all manual pages](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
