diff options
Diffstat (limited to 'src/lib/libssl/src/crypto/asn1/d2i_pu.c')
-rw-r--r-- | src/lib/libssl/src/crypto/asn1/d2i_pu.c | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/src/lib/libssl/src/crypto/asn1/d2i_pu.c b/src/lib/libssl/src/crypto/asn1/d2i_pu.c index 5d6192f1e5..e0d203cef7 100644 --- a/src/lib/libssl/src/crypto/asn1/d2i_pu.c +++ b/src/lib/libssl/src/crypto/asn1/d2i_pu.c | |||
@@ -58,16 +58,13 @@ | |||
58 | 58 | ||
59 | #include <stdio.h> | 59 | #include <stdio.h> |
60 | #include "cryptlib.h" | 60 | #include "cryptlib.h" |
61 | #include "bn.h" | 61 | #include <openssl/bn.h> |
62 | #include "evp.h" | 62 | #include <openssl/evp.h> |
63 | #include "objects.h" | 63 | #include <openssl/objects.h> |
64 | #include "x509.h" | 64 | #include <openssl/asn1.h> |
65 | 65 | ||
66 | EVP_PKEY *d2i_PublicKey(type,a,pp,length) | 66 | EVP_PKEY *d2i_PublicKey(int type, EVP_PKEY **a, unsigned char **pp, |
67 | int type; | 67 | long length) |
68 | EVP_PKEY **a; | ||
69 | unsigned char **pp; | ||
70 | long length; | ||
71 | { | 68 | { |
72 | EVP_PKEY *ret; | 69 | EVP_PKEY *ret; |
73 | 70 | ||
@@ -106,7 +103,7 @@ long length; | |||
106 | default: | 103 | default: |
107 | ASN1err(ASN1_F_D2I_PUBLICKEY,ASN1_R_UNKNOWN_PUBLIC_KEY_TYPE); | 104 | ASN1err(ASN1_F_D2I_PUBLICKEY,ASN1_R_UNKNOWN_PUBLIC_KEY_TYPE); |
108 | goto err; | 105 | goto err; |
109 | break; | 106 | /* break; */ |
110 | } | 107 | } |
111 | if (a != NULL) (*a)=ret; | 108 | if (a != NULL) (*a)=ret; |
112 | return(ret); | 109 | return(ret); |