summaryrefslogtreecommitdiffstats
path: root/crypto/asn1/t_req.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2015-03-15 13:43:56 +0000
committerDr. Stephen Henson <steve@openssl.org>2015-03-23 18:27:04 +0000
commit4903abd50a8e86ac6bf9f0c6a54cec54d9fc3120 (patch)
tree0e45c8fcce70d2e7c76925ad6e88310972909d00 /crypto/asn1/t_req.c
parentc7f5b5d7bc462ca9dd5fc391e25c00a691960017 (diff)
make X509_EXTENSION opaque
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'crypto/asn1/t_req.c')
-rw-r--r--crypto/asn1/t_req.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/asn1/t_req.c b/crypto/asn1/t_req.c
index bd76950ac6..01eabfadd8 100644
--- a/crypto/asn1/t_req.c
+++ b/crypto/asn1/t_req.c
@@ -216,7 +216,7 @@ int X509_REQ_print_ex(BIO *bp, X509_REQ *x, unsigned long nmflags,
goto err;
if (!X509V3_EXT_print(bp, ex, cflag, 16)) {
BIO_printf(bp, "%16s", "");
- ASN1_STRING_print(bp, ex->value);
+ ASN1_STRING_print(bp, X509_EXTENSION_get_data(ex));
}
if (BIO_write(bp, "\n", 1) <= 0)
goto err;