We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f0a01bc + d890622 commit 57a0ba9Copy full SHA for 57a0ba9
main/wifi_tls.c
@@ -383,6 +383,7 @@ static int wifi_tls_reset_context(wifi_tls_context_t *ctx)
383
mbedtls_ssl_config_free(&ctx->ssl_conf);
384
mbedtls_ctr_drbg_free(&ctx->ctr_drbg);
385
mbedtls_x509_crt_free(&ctx->root_ca_cert);
386
+ mbedtls_x509_crt_free(&ctx->peer_cert);
387
mbedtls_ssl_free(&ctx->ssl);
388
389
ESP_LOGD(TAG, "wifi_tls_reset_context: context reset for server: %s", ctx->server_host_name);
0 commit comments