1
0
mirror of https://github.com/moparisthebest/curl synced 2025-03-11 07:39:50 -04:00

openssl: adapt to ASN1/X509 things gone opaque in 1.1

This commit is contained in:
Daniel Stenberg 2015-03-24 22:59:33 +01:00
parent 9edf28e12d
commit 7e6ca87a72

View File

@ -2329,7 +2329,7 @@ static int X509V3_ext(struct SessionHandle *data,
X509_EXTENSION_get_critical(ext)?"(critical)":"");
if(!X509V3_EXT_print(bio_out, ext, 0, 0))
M_ASN1_OCTET_STRING_print(bio_out, ext->value);
ASN1_STRING_print(bio_out, (ASN1_STRING *)X509_EXTENSION_get_data(ext));
BIO_get_mem_ptr(bio_out, &biomem);