projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Convert all {NAME}err() in crypto/ to their corresponding ERR_raise() call
[openssl.git]
/
crypto
/
evp
/
p_enc.c
diff --git
a/crypto/evp/p_enc.c
b/crypto/evp/p_enc.c
index e510095abfc3d75e906050c6518e8b0b2a0c0f9a..b149c7bbcfdc4709c09a4b526e65160ed5f0b6cf 100644
(file)
--- a/
crypto/evp/p_enc.c
+++ b/
crypto/evp/p_enc.c
@@
-28,7
+28,7
@@
int EVP_PKEY_encrypt_old(unsigned char *ek, const unsigned char *key,
#ifndef OPENSSL_NO_RSA
if (EVP_PKEY_id(pubk) != EVP_PKEY_RSA) {
#endif
- E
VPerr(EVP_F_EVP_PKEY_ENCRYPT_OLD
, EVP_R_PUBLIC_KEY_NOT_RSA);
+ E
RR_raise(ERR_LIB_EVP
, EVP_R_PUBLIC_KEY_NOT_RSA);
#ifndef OPENSSL_NO_RSA
goto err;
}