fix coding style issue

Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
This commit is contained in:
Jerry Yu 2021-12-09 10:56:50 +08:00
parent 5132771f5f
commit 27224f58be
2 changed files with 2 additions and 2 deletions

View File

@ -1063,7 +1063,7 @@ static int ssl_tls13_prepare_finished_message( mbedtls_ssl_context *ssl )
if( ssl->conf->endpoint == MBEDTLS_SSL_IS_CLIENT )
{
mbedtls_platform_zeroize( &ssl->handshake->tls13_hs_secrets,
sizeof(ssl->handshake->tls13_hs_secrets));
sizeof( ssl->handshake->tls13_hs_secrets ) );
}
if( ret != 0 )
{

View File

@ -1166,7 +1166,7 @@ int mbedtls_ssl_tls13_generate_application_keys(
app_secrets );
/* Erase master secrets*/
mbedtls_platform_zeroize( &ssl->handshake->tls13_master_secrets,
sizeof(ssl->handshake->tls13_master_secrets));
sizeof( ssl->handshake->tls13_master_secrets ) );
if( ret != 0 )
{
MBEDTLS_SSL_DEBUG_RET( 1,