summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorDmitry Belyavskiy <beldmit@gmail.com>2018-01-08 15:32:47 +0300
committerRich Salz <rsalz@openssl.org>2018-01-08 11:30:55 -0500
commit40cea0a45780bf5b02010b6c7aab1d390bf8dd85 (patch)
treed79a644a4152d6154bf4db97104068081c6c2905 /crypto
parentb26d696c95244055eed634129cd8316a1b298577 (diff)
NUMERICSTRING support
Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/5036)
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 2fcc43e88e..515a874311 100644
--- a/crypto/x509/t_req.c
+++ b/crypto/x509/t_req.c
@@ -140,6 +140,7 @@ int X509_REQ_print_ex(BIO *bp, X509_REQ *x, unsigned long nmflags,
switch (type) {
case V_ASN1_PRINTABLESTRING:
case V_ASN1_T61STRING:
+ case V_ASN1_NUMERICSTRING:
case V_ASN1_UTF8STRING:
case V_ASN1_IA5STRING:
if (BIO_write(bp, (char *)bs->data, bs->length)