mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-12-24 17:41:01 +03:00
- Added ssl_session_reset() to allow re-use of already set non-connection specific context information
This commit is contained in:
@@ -377,6 +377,15 @@ int ssl_get_ciphersuite_id( const char *ciphersuite_name );
|
||||
*/
|
||||
int ssl_init( ssl_context *ssl );
|
||||
|
||||
/**
|
||||
* \brief Reset an already initialized SSL context for re-use
|
||||
* while retaining application-set variables, function
|
||||
* pointers and data.
|
||||
*
|
||||
* \param ssl SSL context
|
||||
*/
|
||||
void ssl_session_reset( ssl_context *ssl );
|
||||
|
||||
/**
|
||||
* \brief Set the current endpoint type
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user