diff options
Diffstat (limited to 'src/lib/libcrypto/asn1/x_info.c')
-rw-r--r-- | src/lib/libcrypto/asn1/x_info.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/lib/libcrypto/asn1/x_info.c b/src/lib/libcrypto/asn1/x_info.c index b55f0ce77a..99ce011f07 100644 --- a/src/lib/libcrypto/asn1/x_info.c +++ b/src/lib/libcrypto/asn1/x_info.c | |||
@@ -58,11 +58,11 @@ | |||
58 | 58 | ||
59 | #include <stdio.h> | 59 | #include <stdio.h> |
60 | #include "cryptlib.h" | 60 | #include "cryptlib.h" |
61 | #include "evp.h" | 61 | #include <openssl/evp.h> |
62 | #include "asn1_mac.h" | 62 | #include <openssl/asn1_mac.h> |
63 | #include "x509.h" | 63 | #include <openssl/x509.h> |
64 | 64 | ||
65 | X509_INFO *X509_INFO_new() | 65 | X509_INFO *X509_INFO_new(void) |
66 | { | 66 | { |
67 | X509_INFO *ret=NULL; | 67 | X509_INFO *ret=NULL; |
68 | 68 | ||
@@ -84,8 +84,7 @@ X509_INFO *X509_INFO_new() | |||
84 | return(ret); | 84 | return(ret); |
85 | } | 85 | } |
86 | 86 | ||
87 | void X509_INFO_free(x) | 87 | void X509_INFO_free(X509_INFO *x) |
88 | X509_INFO *x; | ||
89 | { | 88 | { |
90 | int i; | 89 | int i; |
91 | 90 | ||
@@ -109,3 +108,6 @@ X509_INFO *x; | |||
109 | if (x->x_pkey != NULL) X509_PKEY_free(x->x_pkey); | 108 | if (x->x_pkey != NULL) X509_PKEY_free(x->x_pkey); |
110 | Free((char *)x); | 109 | Free((char *)x); |
111 | } | 110 | } |
111 | |||
112 | IMPLEMENT_STACK_OF(X509_INFO) | ||
113 | |||