summaryrefslogtreecommitdiffstats
path: root/crypto/asn1
diff options
context:
space:
mode:
authorisnotnick <isnotnick@users.noreply.github.com>2014-12-16 16:25:59 +0100
committerRichard Levitte <levitte@openssl.org>2016-05-14 20:06:33 +0200
commit688c10544d2ba32428830d0634e91233c20920c1 (patch)
treef46677b4853c04d7e240b6933e6f5229aba175cc /crypto/asn1
parent93c9545d4dbc5d48924ecdb1c576f1d6f04555e3 (diff)
RT3513: req doesn't display attributes using utf8string
Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'crypto/asn1')
-rw-r--r--crypto/asn1/t_req.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/asn1/t_req.c b/crypto/asn1/t_req.c
index 024553ab19..70aba4cc3b 100644
--- a/crypto/asn1/t_req.c
+++ b/crypto/asn1/t_req.c
@@ -196,6 +196,7 @@ int X509_REQ_print_ex(BIO *bp, X509_REQ *x, unsigned long nmflags,
if (BIO_puts(bp, ":") <= 0)
goto err;
if ((type == V_ASN1_PRINTABLESTRING) ||
+ (type == V_ASN1_UTF8STRING) ||
(type == V_ASN1_T61STRING) ||
(type == V_ASN1_IA5STRING)) {
if (BIO_write(bp, (char *)bs->data, bs->length)