diff options
Diffstat (limited to 'src/lib/libcrypto/evp/p_dec.c')
-rw-r--r-- | src/lib/libcrypto/evp/p_dec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/evp/p_dec.c b/src/lib/libcrypto/evp/p_dec.c index f64901f653..4201dcbad9 100644 --- a/src/lib/libcrypto/evp/p_dec.c +++ b/src/lib/libcrypto/evp/p_dec.c | |||
@@ -66,7 +66,7 @@ | |||
66 | #include <openssl/objects.h> | 66 | #include <openssl/objects.h> |
67 | #include <openssl/x509.h> | 67 | #include <openssl/x509.h> |
68 | 68 | ||
69 | int EVP_PKEY_decrypt(unsigned char *key, const unsigned char *ek, int ekl, | 69 | int EVP_PKEY_decrypt_old(unsigned char *key, const unsigned char *ek, int ekl, |
70 | EVP_PKEY *priv) | 70 | EVP_PKEY *priv) |
71 | { | 71 | { |
72 | int ret= -1; | 72 | int ret= -1; |
@@ -75,7 +75,7 @@ int EVP_PKEY_decrypt(unsigned char *key, const unsigned char *ek, int ekl, | |||
75 | if (priv->type != EVP_PKEY_RSA) | 75 | if (priv->type != EVP_PKEY_RSA) |
76 | { | 76 | { |
77 | #endif | 77 | #endif |
78 | EVPerr(EVP_F_EVP_PKEY_DECRYPT,EVP_R_PUBLIC_KEY_NOT_RSA); | 78 | EVPerr(EVP_F_EVP_PKEY_DECRYPT_OLD,EVP_R_PUBLIC_KEY_NOT_RSA); |
79 | #ifndef OPENSSL_NO_RSA | 79 | #ifndef OPENSSL_NO_RSA |
80 | goto err; | 80 | goto err; |
81 | } | 81 | } |