EasyManua.ls Logo

Espressif ESP32-S2 - Page 545

Espressif ESP32-S2
1695 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 2. API Reference
(continued from previous page)
...
}
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
Release v4.4

Table of Contents