mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2026-02-18 16:33:01 +00: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