mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-28 00:21:48 +03:00
Fix reusing session more than once
This commit is contained in:
committed by
Paul Bakker
parent
cf2e97eae2
commit
06650f6a37
@ -871,6 +871,7 @@ exit:
|
||||
x509_free( &cacert );
|
||||
rsa_free( &rsa );
|
||||
#endif
|
||||
ssl_session_free( &saved_session );
|
||||
ssl_free( &ssl );
|
||||
|
||||
memset( &ssl, 0, sizeof( ssl ) );
|
||||
|
Reference in New Issue
Block a user