1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-28 00:21:48 +03:00

Merge pull request #5263 from ronald-cron-arm/psa-test-driver_3.x

Forward port to 3.x: Introduce PSA test driver library to test PSA configuration
This commit is contained in:
Gilles Peskine
2021-12-07 12:52:20 +01:00
committed by GitHub
44 changed files with 1845 additions and 1957 deletions

View File

@ -6967,7 +6967,7 @@ int mbedtls_ssl_get_key_exchange_md_tls1_2( mbedtls_ssl_context *ssl,
goto exit;
}
if( ( status = psa_hash_finish( &hash_operation, hash, MBEDTLS_MD_MAX_SIZE,
if( ( status = psa_hash_finish( &hash_operation, hash, PSA_HASH_MAX_SIZE,
hashlen ) ) != PSA_SUCCESS )
{
MBEDTLS_SSL_DEBUG_RET( 1, "psa_hash_finish", status );