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:
@@ -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 );
|
||||
}
|
||||
|
Reference in New Issue
Block a user