- Added ssl_session_reset() to allow re-use of already set non-connection specific context information

This commit is contained in:
Paul Bakker 2011-10-06 12:37:39 +00:00
parent b81b3abb45
commit 7eb013face
4 changed files with 97 additions and 34 deletions

View file

@ -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
*