mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-08-01 10:06:53 +03:00
Changing error codes.
Change from MBEDTLS_ERR_ERROR_GENERIC_ERROR to MBEDTLS_ERR_PLATFORM_HW_ACCEL_FAILED where PSA crypto is used. Signed-off-by: pespacek <peter.spacek@silabs.com>
This commit is contained in:
@ -2464,7 +2464,7 @@ static int x509_crt_check_signature( const mbedtls_x509_crt *child,
|
||||
&hash_len );
|
||||
if( status != PSA_SUCCESS )
|
||||
{
|
||||
return MBEDTLS_ERR_ERROR_GENERIC_ERROR;
|
||||
return( MBEDTLS_ERR_PLATFORM_HW_ACCEL_FAILED );
|
||||
}
|
||||
|
||||
#endif /* MBEDTLS_USE_PSA_CRYPTO */
|
||||
|
Reference in New Issue
Block a user