aboutsummaryrefslogtreecommitdiff
path: root/crypto
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-06 15:58:24 +0200
commitec5b56f3c5c47346c7740e5640d5f66ee2394267 (patch)
treeddcc6853340427451fa6d2e4e48e554a398b834c /crypto
parent4b16fa791d3ad8c6d9d3cb575b749247e774299a (diff)
downloadopenssl-ec5b56f3c5c47346c7740e5640d5f66ee2394267.zip
openssl-ec5b56f3c5c47346c7740e5640d5f66ee2394267.tar.gz
openssl-ec5b56f3c5c47346c7740e5640d5f66ee2394267.tar.bz2
RT3513: req doesn't display attributes using utf8string
Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'crypto')
-rw-r--r--crypto/x509/t_req.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/x509/t_req.c b/crypto/x509/t_req.c
index afe59c4e..94da0de 100644
--- a/crypto/x509/t_req.c
+++ b/crypto/x509/t_req.c
@@ -181,6 +181,7 @@ int X509_REQ_print_ex(BIO *bp, X509_REQ *x, unsigned long nmflags,
goto err;
if ((type == V_ASN1_PRINTABLESTRING) ||
(type == V_ASN1_T61STRING) ||
+ (type == V_ASN1_UTF8STRING) ||
(type == V_ASN1_IA5STRING)) {
if (BIO_write(bp, (char *)bs->data, bs->length)
!= bs->length)