diff options
Diffstat (limited to 'src/lib/libcrypto/evp/p_open.c')
-rw-r--r-- | src/lib/libcrypto/evp/p_open.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/lib/libcrypto/evp/p_open.c b/src/lib/libcrypto/evp/p_open.c index 5a933d1cda..9935206d0f 100644 --- a/src/lib/libcrypto/evp/p_open.c +++ b/src/lib/libcrypto/evp/p_open.c | |||
@@ -56,15 +56,19 @@ | |||
56 | * [including the GNU Public Licence.] | 56 | * [including the GNU Public Licence.] |
57 | */ | 57 | */ |
58 | 58 | ||
59 | #ifndef OPENSSL_NO_RSA | ||
60 | #include <stdio.h> | 59 | #include <stdio.h> |
61 | #include "cryptlib.h" | 60 | #include "cryptlib.h" |
61 | |||
62 | #ifndef OPENSSL_NO_RSA | ||
63 | |||
62 | #include <openssl/evp.h> | 64 | #include <openssl/evp.h> |
63 | #include <openssl/objects.h> | 65 | #include <openssl/objects.h> |
64 | #include <openssl/x509.h> | 66 | #include <openssl/x509.h> |
67 | #include <openssl/rsa.h> | ||
65 | 68 | ||
66 | int EVP_OpenInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *type, unsigned char *ek, | 69 | int EVP_OpenInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *type, |
67 | int ekl, unsigned char *iv, EVP_PKEY *priv) | 70 | const unsigned char *ek, int ekl, const unsigned char *iv, |
71 | EVP_PKEY *priv) | ||
68 | { | 72 | { |
69 | unsigned char *key=NULL; | 73 | unsigned char *key=NULL; |
70 | int i,size=0,ret=0; | 74 | int i,size=0,ret=0; |