From: Dmitry Belyavskiy Date: Mon, 8 Jan 2018 12:32:47 +0000 (+0300) Subject: NUMERICSTRING support X-Git-Tag: OpenSSL_1_1_1-pre1~216 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=40cea0a45780bf5b02010b6c7aab1d390bf8dd85;p=oweals%2Fopenssl.git NUMERICSTRING support Reviewed-by: Richard Levitte Reviewed-by: Rich Salz (Merged from https://github.com/openssl/openssl/pull/5036) --- 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)