fix function codes for error

This commit is contained in:
Bodo Möller
2007-04-24 01:06:19 +00:00
parent 0862caf27e
commit a291745eeb
14 changed files with 37 additions and 25 deletions

View File

@@ -197,7 +197,7 @@ int int_rsa_verify(int dtype, const unsigned char *m,
/* Excess data can be used to create forgeries */
if(p != s+i)
{
RSAerr(RSA_F_RSA_VERIFY,RSA_R_BAD_SIGNATURE);
RSAerr(RSA_F_INT_RSA_VERIFY,RSA_R_BAD_SIGNATURE);
goto err;
}
@@ -206,7 +206,7 @@ int int_rsa_verify(int dtype, const unsigned char *m,
if(sig->algor->parameter
&& ASN1_TYPE_get(sig->algor->parameter) != V_ASN1_NULL)
{
RSAerr(RSA_F_RSA_VERIFY,RSA_R_BAD_SIGNATURE);
RSAerr(RSA_F_INT_RSA_VERIFY,RSA_R_BAD_SIGNATURE);
goto err;
}