mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-28 00:21:48 +03:00
Check our ECDSA cert(s) against supported curves
This commit is contained in:
@ -4145,6 +4145,10 @@ void ssl_handshake_free( ssl_handshake_params *handshake )
|
||||
ecdh_free( &handshake->ecdh_ctx );
|
||||
#endif
|
||||
|
||||
#if defined(POLARSSL_ECDH_C) || defined(POLARSSL_ECDSA_C)
|
||||
polarssl_free( handshake->curves );
|
||||
#endif
|
||||
|
||||
memset( handshake, 0, sizeof( ssl_handshake_params ) );
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user