summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/evp/p_dec.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/evp/p_dec.c')
-rw-r--r--src/lib/libcrypto/evp/p_dec.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/lib/libcrypto/evp/p_dec.c b/src/lib/libcrypto/evp/p_dec.c
index c47408dff0..bb4e03091e 100644
--- a/src/lib/libcrypto/evp/p_dec.c
+++ b/src/lib/libcrypto/evp/p_dec.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: p_dec.c,v 1.8 2014/07/10 22:45:57 jsing Exp $ */ 1/* $OpenBSD: p_dec.c,v 1.9 2014/07/11 08:44:48 jsing Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -60,14 +60,15 @@
60 60
61#include <openssl/opensslconf.h> 61#include <openssl/opensslconf.h>
62 62
63#include "cryptlib.h" 63#include <openssl/evp.h>
64#include <openssl/err.h>
65#include <openssl/objects.h>
64#include <openssl/rand.h> 66#include <openssl/rand.h>
67#include <openssl/x509.h>
68
65#ifndef OPENSSL_NO_RSA 69#ifndef OPENSSL_NO_RSA
66#include <openssl/rsa.h> 70#include <openssl/rsa.h>
67#endif 71#endif
68#include <openssl/evp.h>
69#include <openssl/objects.h>
70#include <openssl/x509.h>
71 72
72int 73int
73EVP_PKEY_decrypt_old(unsigned char *key, const unsigned char *ek, int ekl, 74EVP_PKEY_decrypt_old(unsigned char *key, const unsigned char *ek, int ekl,