Skip to content

Commit

Permalink
Update function name
Browse files Browse the repository at this point in the history
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
  • Loading branch information
gabor-mezei-arm committed Nov 24, 2021
1 parent be7b21d commit 685472b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions library/ssl_tls13_generic.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
#include "mbedtls/debug.h"
#include "mbedtls/oid.h"
#include "mbedtls/platform.h"
#include "mbedtls/constant_time.h"
#include <string.h>

#include "ssl_misc.h"
Expand Down Expand Up @@ -903,9 +904,9 @@ static int ssl_tls13_parse_finished_message( mbedtls_ssl_context *ssl,
expected_verify_data_len );

/* Semantic validation */
if( mbedtls_ssl_safer_memcmp( buf,
expected_verify_data,
expected_verify_data_len ) != 0 )
if( mbedtls_ct_memcmp( buf,
expected_verify_data,
expected_verify_data_len ) != 0 )
{
MBEDTLS_SSL_DEBUG_MSG( 1, ( "bad finished message" ) );

Expand Down

0 comments on commit 685472b

Please sign in to comment.