diff options
author | Daniel Stenberg <daniel@haxx.se> | 2015-03-24 22:59:33 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2015-03-24 22:59:33 +0100 |
commit | 7e6ca87a72431a0bae729bffc3c51a66074b6936 (patch) | |
tree | f7916f50d0794bbd82989ef5456464a6dd07f80e /lib/vtls | |
parent | 9edf28e12dec755b3af245931004dc3465ba7b1a (diff) |
openssl: adapt to ASN1/X509 things gone opaque in 1.1
Diffstat (limited to 'lib/vtls')
-rw-r--r-- | lib/vtls/openssl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/vtls/openssl.c b/lib/vtls/openssl.c index 3f93e220b..9a3f2c81a 100644 --- a/lib/vtls/openssl.c +++ b/lib/vtls/openssl.c @@ -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); |