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:
parent
9edf28e12d
commit
7e6ca87a72
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user