diff options
author | Bodo Möller <bodo@openssl.org> | 2007-04-24 01:06:19 +0000 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 2007-04-24 01:06:19 +0000 |
commit | a291745eebe4ea0f4490bf4354988cdc15cd0a5b (patch) | |
tree | 1ff5bcc97763b0e10b54d79505458121a11d1283 /crypto/rsa | |
parent | 0862caf27efbdad6da3563842d4812c7d0f763dd (diff) |
fix function codes for error
Diffstat (limited to 'crypto/rsa')
-rw-r--r-- | crypto/rsa/rsa_sign.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/rsa/rsa_sign.c b/crypto/rsa/rsa_sign.c index 1878ffe1ed..0be4ec7fb0 100644 --- a/crypto/rsa/rsa_sign.c +++ b/crypto/rsa/rsa_sign.c @@ -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; } |