mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-24 00:06:32 +01:00
- Added ssl_session_reset() to allow re-use of already set non-connection specific context information
This commit is contained in:
parent
b81b3abb45
commit
7eb013face
4 changed files with 97 additions and 34 deletions
|
|
@ -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
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue