1
0
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:
Manuel Pégourié-Gonnard
2019-07-23 14:51:09 +02:00
committed by Jarno Lamsa
parent 142ba736d9
commit 9df5a82079
4 changed files with 9 additions and 23 deletions

View File

@ -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 ) );
}
/*