diff options
author | Bodo Möller <bodo@openssl.org> | 2005-05-11 05:45:39 +0200 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 2005-05-11 05:45:39 +0200 |
commit | 8afca8d9c60c3d7db6f9bc94a97c77f016fc139d (patch) | |
tree | df6c0046c8ebb68825940173c750ae0fb37f0f0c /crypto/rsa/rsa_oaep.c | |
parent | use 'p' as conversion specifier for printf to avoid truncation of (diff) | |
download | openssl-8afca8d9c60c3d7db6f9bc94a97c77f016fc139d.tar.xz openssl-8afca8d9c60c3d7db6f9bc94a97c77f016fc139d.zip |
Fix more error codes.
(Also improve util/ck_errf.pl script, and occasionally
fix source code formatting.)
Diffstat (limited to 'crypto/rsa/rsa_oaep.c')
-rw-r--r-- | crypto/rsa/rsa_oaep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/rsa/rsa_oaep.c b/crypto/rsa/rsa_oaep.c index e3f7c608ec..66d33e538a 100644 --- a/crypto/rsa/rsa_oaep.c +++ b/crypto/rsa/rsa_oaep.c @@ -122,7 +122,7 @@ int RSA_padding_check_PKCS1_OAEP(unsigned char *to, int tlen, db = OPENSSL_malloc(dblen); if (db == NULL) { - RSAerr(RSA_F_RSA_PADDING_ADD_PKCS1_OAEP, ERR_R_MALLOC_FAILURE); + RSAerr(RSA_F_RSA_PADDING_CHECK_PKCS1_OAEP, ERR_R_MALLOC_FAILURE); return -1; } |