mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-03-25 00:35:11 +00:00
Fix error return code
This commit is contained in:
parent
b83a2136d6
commit
91dbb79ae4
|
@ -1558,9 +1558,13 @@ int mbedtls_pk_verify_restartable( mbedtls_pk_context *ctx,
|
|||
{
|
||||
return( verify_ret );
|
||||
}
|
||||
else
|
||||
{
|
||||
verify_ret = MBEDTLS_ERR_PK_HW_ACCEL_FAILED;
|
||||
}
|
||||
}
|
||||
|
||||
return( MBEDTLS_ERR_ECP_HW_ACCEL_FAILED );
|
||||
return( verify_ret );
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue