Check our ECDSA cert(s) against supported curves

This commit is contained in:
Manuel Pégourié-Gonnard 2013-09-23 19:11:32 +02:00
parent f24b4a7316
commit d09453c88c
3 changed files with 82 additions and 29 deletions

View file

@ -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 ) );
}