diff options
Diffstat (limited to 'src/lib/libcrypto/evp/p_dec.c')
-rw-r--r-- | src/lib/libcrypto/evp/p_dec.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libcrypto/evp/p_dec.c b/src/lib/libcrypto/evp/p_dec.c index 57b5daa453..8af620400e 100644 --- a/src/lib/libcrypto/evp/p_dec.c +++ b/src/lib/libcrypto/evp/p_dec.c | |||
@@ -59,7 +59,7 @@ | |||
59 | #include <stdio.h> | 59 | #include <stdio.h> |
60 | #include "cryptlib.h" | 60 | #include "cryptlib.h" |
61 | #include <openssl/rand.h> | 61 | #include <openssl/rand.h> |
62 | #ifndef NO_RSA | 62 | #ifndef OPENSSL_NO_RSA |
63 | #include <openssl/rsa.h> | 63 | #include <openssl/rsa.h> |
64 | #endif | 64 | #endif |
65 | #include <openssl/evp.h> | 65 | #include <openssl/evp.h> |
@@ -71,12 +71,12 @@ int EVP_PKEY_decrypt(unsigned char *key, unsigned char *ek, int ekl, | |||
71 | { | 71 | { |
72 | int ret= -1; | 72 | int ret= -1; |
73 | 73 | ||
74 | #ifndef NO_RSA | 74 | #ifndef OPENSSL_NO_RSA |
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,EVP_R_PUBLIC_KEY_NOT_RSA); |
79 | #ifndef NO_RSA | 79 | #ifndef OPENSSL_NO_RSA |
80 | goto err; | 80 | goto err; |
81 | } | 81 | } |
82 | 82 | ||