mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-22 12:25:39 +01:00
Add call to mbedtls_x509_crt_free()
This commit is contained in:
parent
e151a3528a
commit
c162895030
@ -12057,6 +12057,7 @@ void mbedtls_ssl_handshake_free( mbedtls_ssl_context *ssl )
|
||||
#endif /* MBEDTLS_SSL_PROTO_TLS1_2 */
|
||||
|
||||
#if defined(MBEDTLS_SSL_FREE_SERVER_CERTIFICATE)
|
||||
mbedtls_x509_crt_free( ssl->session_negotiate->peer_cert );
|
||||
mbedtls_free( ssl->session->peer_cert );
|
||||
ssl->session->peer_cert = NULL;
|
||||
#endif /* MBEDTLS_SSL_FREE_SERVER_CERTIFICATE */
|
||||
|
Loading…
Reference in New Issue
Block a user