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)
This commit is contained in:
Dmitry Belyavskiy 2018-01-08 15:32:47 +03:00 committed by Rich Salz
parent b26d696c95
commit 40cea0a457

View file

@ -140,6 +140,7 @@ int X509_REQ_print_ex(BIO *bp, X509_REQ *x, unsigned long nmflags,
switch (type) { switch (type) {
case V_ASN1_PRINTABLESTRING: case V_ASN1_PRINTABLESTRING:
case V_ASN1_T61STRING: case V_ASN1_T61STRING:
case V_ASN1_NUMERICSTRING:
case V_ASN1_UTF8STRING: case V_ASN1_UTF8STRING:
case V_ASN1_IA5STRING: case V_ASN1_IA5STRING:
if (BIO_write(bp, (char *)bs->data, bs->length) if (BIO_write(bp, (char *)bs->data, bs->length)