mirror of
https://github.com/espressif/mbedtls.git
synced 2025-05-10 03:39:03 +08:00
Update function name
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
This commit is contained in:
parent
be7b21da22
commit
685472bfb6
@ -29,6 +29,7 @@
|
|||||||
#include "mbedtls/debug.h"
|
#include "mbedtls/debug.h"
|
||||||
#include "mbedtls/oid.h"
|
#include "mbedtls/oid.h"
|
||||||
#include "mbedtls/platform.h"
|
#include "mbedtls/platform.h"
|
||||||
|
#include "mbedtls/constant_time.h"
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "ssl_misc.h"
|
#include "ssl_misc.h"
|
||||||
@ -903,9 +904,9 @@ static int ssl_tls13_parse_finished_message( mbedtls_ssl_context *ssl,
|
|||||||
expected_verify_data_len );
|
expected_verify_data_len );
|
||||||
|
|
||||||
/* Semantic validation */
|
/* Semantic validation */
|
||||||
if( mbedtls_ssl_safer_memcmp( buf,
|
if( mbedtls_ct_memcmp( buf,
|
||||||
expected_verify_data,
|
expected_verify_data,
|
||||||
expected_verify_data_len ) != 0 )
|
expected_verify_data_len ) != 0 )
|
||||||
{
|
{
|
||||||
MBEDTLS_SSL_DEBUG_MSG( 1, ( "bad finished message" ) );
|
MBEDTLS_SSL_DEBUG_MSG( 1, ( "bad finished message" ) );
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user