From: Matt Caswell Date: Fri, 23 Feb 2018 09:46:06 +0000 (+0000) Subject: Revert "Don't crash on a missing Subject in index.txt" X-Git-Tag: OpenSSL_1_1_0h~35 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9995007afff6384866f8db4ab986b9a3edb97ecd;p=oweals%2Fopenssl.git Revert "Don't crash on a missing Subject in index.txt" This reverts commit 462163e91a6f06e8bf0791a01f6e0a1897ad2081. Empty subjects should be permissible. Reviewed-by: Richard Levitte (Merged from https://github.com/openssl/openssl/pull/5627) --- diff --git a/apps/ca.c b/apps/ca.c index ad8c5c8bbe..603adfd406 100644 --- a/apps/ca.c +++ b/apps/ca.c @@ -666,10 +666,6 @@ end_of_options: goto end; } } - if (pp[DB_name][0] == '\0') { - BIO_printf(bio_err, "entry %d: bad Subject\n", i + 1); - goto end; - } } if (verbose) { TXT_DB_write(bio_out, db->db);