Merge pull request #5256 from yuhaoth/pr/clean-up-secrets-after-done

TLS1.3 MVP: Erase secrets when they are not necessary anymore.
This commit is contained in:
Manuel Pégourié-Gonnard 2021-12-10 12:48:25 +01:00 committed by GitHub
commit 4525cce691
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 28 additions and 10 deletions

View file

@ -1063,7 +1063,7 @@ static int ssl_tls13_prepare_finished_message( mbedtls_ssl_context *ssl )
if( ret != 0 )
{
MBEDTLS_SSL_DEBUG_RET( 1, "calculate_verify_data failed", ret );
MBEDTLS_SSL_DEBUG_RET( 1, "calculate_verify_data failed", ret );
return( ret );
}