apps/openssl.cnf and the documentation say it's "nombstr",
authorBodo Möller <bodo@openssl.org>
Fri, 7 Jan 2000 13:05:41 +0000 (13:05 +0000)
committerBodo Möller <bodo@openssl.org>
Fri, 7 Jan 2000 13:05:41 +0000 (13:05 +0000)
but crypto/asn1/a_strnid.c had "nombchar".

apps/req.c
crypto/asn1/a_strnid.c

index 76a4514263b3bcd675dd4e835b2a0a53399b5b5c..00ce23103366d9cf8899a1301f06bfea053fafa5 100644 (file)
@@ -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;
        }
 
index 0ec6ae28ce889e4af48774c8270d620d7f3e534c..5ec4d2fb1fefab4aca7605414d271e620b38f2ec 100644 (file)
@@ -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;