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