aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/rsa/rsa_eay.c
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>2005-05-11 03:45:39 +0000
committerBodo Möller <bodo@openssl.org>2005-05-11 03:45:39 +0000
commit8afca8d9c60c3d7db6f9bc94a97c77f016fc139d (patch)
treedf6c0046c8ebb68825940173c750ae0fb37f0f0c /crypto/rsa/rsa_eay.c
parent35e8510e60ef0b033b304289db28a3cb19c6cbdd (diff)
downloadopenssl-8afca8d9c60c3d7db6f9bc94a97c77f016fc139d.tar.gz
Fix more error codes.
(Also improve util/ck_errf.pl script, and occasionally fix source code formatting.)
Diffstat (limited to 'crypto/rsa/rsa_eay.c')
-rw-r--r--crypto/rsa/rsa_eay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/rsa/rsa_eay.c b/crypto/rsa/rsa_eay.c
index 738ea0be71..21755c0e2f 100644
--- a/crypto/rsa/rsa_eay.c
+++ b/crypto/rsa/rsa_eay.c
@@ -400,7 +400,7 @@ static int RSA_eay_private_decrypt(int flen, const unsigned char *from,
blinding = rsa_get_blinding(rsa, &br, &local_blinding, ctx);
if (blinding == NULL)
{
- RSAerr(RSA_F_RSA_EAY_PRIVATE_ENCRYPT, ERR_R_INTERNAL_ERROR);
+ RSAerr(RSA_F_RSA_EAY_PRIVATE_DECRYPT, ERR_R_INTERNAL_ERROR);
goto err;
}
}