commit | 4602564d7a588cc8f2df57d9a8fdddbf06c1ff80 | [log] [tgz] |
---|---|---|
author | gabor-mezei-arm <gabor.mezei@arm.com> | Mon Jul 19 15:19:19 2021 +0200 |
committer | gabor-mezei-arm <gabor.mezei@arm.com> | Tue Sep 28 16:33:47 2021 +0200 |
tree | a7956cc5039db275eb8620b854fa1c13e18b9077 | |
parent | 2dcd7686cef78bd13caf72766883cf796649f26f [diff] [blame] |
Unify memcmp functions Signed-off-by: gabor-mezei-arm <gabor.mezei@arm.com>
diff --git a/library/ssl_cookie.c b/library/ssl_cookie.c index 5936d35..6ed3f2b 100644 --- a/library/ssl_cookie.c +++ b/library/ssl_cookie.c
@@ -227,7 +227,7 @@ if( ret != 0 ) return( ret ); - if( mbedtls_ssl_safer_memcmp( cookie + 4, ref_hmac, sizeof( ref_hmac ) ) != 0 ) + if( mbedtls_cf_memcmp( cookie + 4, ref_hmac, sizeof( ref_hmac ) ) != 0 ) return( -1 ); #if defined(MBEDTLS_HAVE_TIME)