fix coding style issue
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
This commit is contained in:
parent
5132771f5f
commit
27224f58be
@ -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 )
|
||||
{
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user