diff options
Diffstat (limited to 'usr/src/common/openssl/crypto/evp/p_open.c')
-rw-r--r-- | usr/src/common/openssl/crypto/evp/p_open.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/usr/src/common/openssl/crypto/evp/p_open.c b/usr/src/common/openssl/crypto/evp/p_open.c index 5a933d1cda..9935206d0f 100644 --- a/usr/src/common/openssl/crypto/evp/p_open.c +++ b/usr/src/common/openssl/crypto/evp/p_open.c @@ -56,15 +56,19 @@ * [including the GNU Public Licence.] */ -#ifndef OPENSSL_NO_RSA #include <stdio.h> #include "cryptlib.h" + +#ifndef OPENSSL_NO_RSA + #include <openssl/evp.h> #include <openssl/objects.h> #include <openssl/x509.h> +#include <openssl/rsa.h> -int EVP_OpenInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *type, unsigned char *ek, - int ekl, unsigned char *iv, EVP_PKEY *priv) +int EVP_OpenInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *type, + const unsigned char *ek, int ekl, const unsigned char *iv, + EVP_PKEY *priv) { unsigned char *key=NULL; int i,size=0,ret=0; |