1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-23 15:01:00 +03:00

Restructure ssl_handshake_init() and small fixes

This commit is contained in:
Paul Bakker
2014-06-26 13:37:14 +02:00
parent a317a98221
commit accaffe2c3
3 changed files with 96 additions and 47 deletions

View File

@ -1682,6 +1682,13 @@ int ssl_close_notify( ssl_context *ssl );
*/
void ssl_free( ssl_context *ssl );
/**
* \brief Initialize SSL session structure
*
* \param session SSL session
*/
void ssl_session_init( ssl_session *session );
/**
* \brief Free referenced items in an SSL session including the
* peer certificate and clear memory