mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-02-10 15:40:30 +00:00
test: fix error in test_suite_ssl
Signed-off-by: Valerio Setti <vsetti@baylibre.com>
This commit is contained in:
parent
fe6c19b69c
commit
77b1452784
@ -4517,7 +4517,7 @@ void ssl_tls13_create_psk_binder( int hash_alg,
|
||||
data_t *transcript,
|
||||
data_t *binder_expected )
|
||||
{
|
||||
unsigned char binder[ MBEDTLS_MD_MAX_SIZE ];
|
||||
unsigned char binder[ MBEDTLS_HASH_MAX_SIZE ];
|
||||
|
||||
/* Double-check that we've passed sane parameters. */
|
||||
psa_algorithm_t alg = (psa_algorithm_t) hash_alg;
|
||||
@ -4649,7 +4649,7 @@ void ssl_tls13_key_evolution( int hash_alg,
|
||||
data_t *input,
|
||||
data_t *expected )
|
||||
{
|
||||
unsigned char secret_new[ MBEDTLS_MD_MAX_SIZE ];
|
||||
unsigned char secret_new[ MBEDTLS_HASH_MAX_SIZE ];
|
||||
|
||||
PSA_INIT();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user