diff options
Diffstat (limited to 'src/lib/libcrypto/asn1/d2i_pu.c')
-rw-r--r-- | src/lib/libcrypto/asn1/d2i_pu.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/lib/libcrypto/asn1/d2i_pu.c b/src/lib/libcrypto/asn1/d2i_pu.c index 4a9475b68e..df6fea4af5 100644 --- a/src/lib/libcrypto/asn1/d2i_pu.c +++ b/src/lib/libcrypto/asn1/d2i_pu.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: d2i_pu.c,v 1.11 2014/07/10 22:45:56 jsing Exp $ */ | 1 | /* $OpenBSD: d2i_pu.c,v 1.12 2014/07/11 08:44:47 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,20 +60,21 @@ | |||
60 | 60 | ||
61 | #include <openssl/opensslconf.h> | 61 | #include <openssl/opensslconf.h> |
62 | 62 | ||
63 | #include "cryptlib.h" | 63 | #include <openssl/asn1.h> |
64 | #include <openssl/bn.h> | 64 | #include <openssl/bn.h> |
65 | #include <openssl/err.h> | ||
65 | #include <openssl/evp.h> | 66 | #include <openssl/evp.h> |
66 | #include <openssl/objects.h> | 67 | #include <openssl/objects.h> |
67 | #include <openssl/asn1.h> | 68 | |
68 | #ifndef OPENSSL_NO_RSA | ||
69 | #include <openssl/rsa.h> | ||
70 | #endif | ||
71 | #ifndef OPENSSL_NO_DSA | 69 | #ifndef OPENSSL_NO_DSA |
72 | #include <openssl/dsa.h> | 70 | #include <openssl/dsa.h> |
73 | #endif | 71 | #endif |
74 | #ifndef OPENSSL_NO_EC | 72 | #ifndef OPENSSL_NO_EC |
75 | #include <openssl/ec.h> | 73 | #include <openssl/ec.h> |
76 | #endif | 74 | #endif |
75 | #ifndef OPENSSL_NO_RSA | ||
76 | #include <openssl/rsa.h> | ||
77 | #endif | ||
77 | 78 | ||
78 | EVP_PKEY * | 79 | EVP_PKEY * |
79 | d2i_PublicKey(int type, EVP_PKEY **a, const unsigned char **pp, long length) | 80 | d2i_PublicKey(int type, EVP_PKEY **a, const unsigned char **pp, long length) |