Fix error return code

This commit is contained in:
Jarno Lamsa 2019-12-16 12:20:27 +02:00
parent b83a2136d6
commit 91dbb79ae4

View file

@ -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 );
}
/*