diff options
Diffstat (limited to 'src/lib/libcrypto/x509/x509_v3.c')
-rw-r--r-- | src/lib/libcrypto/x509/x509_v3.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libcrypto/x509/x509_v3.c b/src/lib/libcrypto/x509/x509_v3.c index dd2f9f1b17..52887986fe 100644 --- a/src/lib/libcrypto/x509/x509_v3.c +++ b/src/lib/libcrypto/x509/x509_v3.c | |||
@@ -63,6 +63,7 @@ | |||
63 | #include <openssl/objects.h> | 63 | #include <openssl/objects.h> |
64 | #include <openssl/evp.h> | 64 | #include <openssl/evp.h> |
65 | #include <openssl/x509.h> | 65 | #include <openssl/x509.h> |
66 | #include <openssl/x509v3.h> | ||
66 | 67 | ||
67 | int X509v3_get_ext_count(const STACK_OF(X509_EXTENSION) *x) | 68 | int X509v3_get_ext_count(const STACK_OF(X509_EXTENSION) *x) |
68 | { | 69 | { |
@@ -242,7 +243,7 @@ int X509_EXTENSION_set_data(X509_EXTENSION *ex, ASN1_OCTET_STRING *data) | |||
242 | int i; | 243 | int i; |
243 | 244 | ||
244 | if (ex == NULL) return(0); | 245 | if (ex == NULL) return(0); |
245 | i=ASN1_OCTET_STRING_set(ex->value,data->data,data->length); | 246 | i=M_ASN1_OCTET_STRING_set(ex->value,data->data,data->length); |
246 | if (!i) return(0); | 247 | if (!i) return(0); |
247 | return(1); | 248 | return(1); |
248 | } | 249 | } |