EasyManua.ls Logo

Espressif ESP32-S2 - Page 546

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
ctx - SSL context point
Return:
SSL context method
Description:
get the SSL context method
Example:
void example(void)
{
const SSL_METHOD *method;
SSL_CTX *ctx;
... ...
method = SSL_CTX_get_ssl_method(ctx);
}
Chapter 3. SSL Function
3.1 SSL* SSL_new (SSL_CTX * ctx)
Arguments:
ctx - SSL context point
Return:
SSL method
Description:
create a SSL
Example:
void example(void)
{
SSL *ssl;
SSL_CTX *ctx;
... ...
ssl = SSL_new(ctx);
}
3.2 void SSL_free (SSL * ssl)
Arguments:
ssl - SSL point
Return:
none
Description:
Espressif Systems 535
Submit Document Feedback
Release v4.4

Table of Contents