X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=crypto%2Fasn1%2Ft_req.c;h=fd830233356c0b292fe83507c2f747bd19ba9df7;hp=bd76950ac6c69ed2a57e1e873d2945e9ee0018ec;hb=a3aadb2d9c85bc958a428a17ef5d6c9de5ef87b8;hpb=f422a51486a3ab415153eccdc3c3746c53da01f4 diff --git a/crypto/asn1/t_req.c b/crypto/asn1/t_req.c index bd76950ac6..fd83023335 100644 --- a/crypto/asn1/t_req.c +++ b/crypto/asn1/t_req.c @@ -57,7 +57,7 @@ */ #include -#include "cryptlib.h" +#include "internal/cryptlib.h" #include #include #include @@ -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;