Chapter 2. API Reference
...
}
2.2 void SSL_CTX_free (SSL_CTX * ctx)
Arguments:
ctx - the SSL context point
Return:
none
Description:
free a SSL context
Example:
void example(void)
{
SSL_CTX *ctx;
... ...
SSL_CTX_free(ctx);
}
2.3 int SSL_CTX_set_ssl_version (SSL_CTX * ctx, const SSL_METHOD * meth)
Arguments:
ctx
- SSL context point
meth - SSL method point
Return:
1 : OK
0 : failed
Description:
set the SSL context version
Example:
void example(void)
{
SSL_CTX *ctx;
const SSL_METHOD *meth;
... ...
SSL_CTX_set_ssl_version(ctx, meth);
}
2.4 const SSL_METHOD* SSL_CTX_get_ssl_method (SSL_CTX * ctx)
Arguments:
Espressif Systems
534
Submit Document Feedback
(continued from previous page)
Release v4.4
Need help?
Do you have a question about the ESP32-S2 and is the answer not in the manual?