mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-29 11:41:15 +03:00
Actually reset the context on save as advertised
Also fix some wording in the documentation while at it.
This commit is contained in:
committed by
Jarno Lamsa
parent
142ba736d9
commit
9df5a82079
@ -11522,7 +11522,7 @@ int mbedtls_ssl_context_save( mbedtls_ssl_context *ssl,
|
||||
|
||||
MBEDTLS_SSL_DEBUG_BUF( 4, "saved context", buf, used );
|
||||
|
||||
return( 0 );
|
||||
return( ssl_session_reset_int( ssl, 0 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user