esp_tls: Added getter function for esp_tls ssl ctx.

This commit is contained in:
Aditya Patwardhan
2022-04-20 11:30:56 +05:30
committed by BOT
parent 434e74ff73
commit 788c9ddf8d
7 changed files with 79 additions and 10 deletions

View File

@@ -56,6 +56,11 @@ static inline void esp_mbedtls_net_init(esp_tls_t *tls)
mbedtls_net_init(&tls->server_fd);
}
/**
* Return ssl context for mbedTLS stack
*/
void *esp_mbedtls_get_ssl_context(esp_tls_t *tls);
#ifdef CONFIG_ESP_TLS_SERVER
/**
* Internal Callback for set_server_config