1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-08-08 17:42:09 +03:00

tls: psa_pake: fix return values in parse functions

Ensure they all belong to the MBEDTLS_ERR_SSL_* group

Signed-off-by: Valerio Setti <vsetti@baylibre.com>
This commit is contained in:
Valerio Setti
2022-11-18 12:11:00 +01:00
parent aca21b717c
commit 61ea17d30a
2 changed files with 2 additions and 2 deletions

View File

@@ -8233,7 +8233,7 @@ int mbedtls_psa_ecjpake_read_round(
}
if( input_offset != len )
return PSA_ERROR_INVALID_ARGUMENT;
return MBEDTLS_ERR_SSL_HANDSHAKE_FAILURE;
return( 0 );
}