From d2b6c3f31fc6d1865b2d344572f8b8dbadc759a3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bodo=20M=C3=B6ller?= Date: Fri, 7 Jan 2000 13:05:41 +0000 Subject: [PATCH] apps/openssl.cnf and the documentation say it's "nombstr", but crypto/asn1/a_strnid.c had "nombchar". --- apps/req.c | 2 +- crypto/asn1/a_strnid.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/req.c b/apps/req.c index 76a4514263..00ce231033 100644 --- a/apps/req.c +++ b/apps/req.c @@ -500,7 +500,7 @@ bad: p = CONF_get_string(req_conf, SECTION, STRING_MASK); if(p && !ASN1_STRING_set_default_mask_asc(p)) { - BIO_printf(bio_err, "Invalid global string mask setting %s", p); + BIO_printf(bio_err, "Invalid global string mask setting %s\n", p); goto end; } diff --git a/crypto/asn1/a_strnid.c b/crypto/asn1/a_strnid.c index 0ec6ae28ce..5ec4d2fb1f 100644 --- a/crypto/asn1/a_strnid.c +++ b/crypto/asn1/a_strnid.c @@ -103,7 +103,7 @@ int ASN1_STRING_set_default_mask_asc(char *p) if(!p[5]) return 0; mask = strtoul(p + 5, &end, 0); if(*end) return 0; - } else if(!strcmp(p, "nombchar")) + } else if(!strcmp(p, "nombstr")) mask = ~(B_ASN1_BMPSTRING|B_ASN1_UTF8STRING); else if(!strcmp(p, "pkix")) mask = ~B_ASN1_T61STRING; -- 2.25.1