From: Matt Caswell Date: Fri, 23 Feb 2018 11:05:24 +0000 (+0000) Subject: Revert "Don't crash on a missing Subject in index.txt" X-Git-Tag: OpenSSL_1_0_2o~15 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=5caf721bbb154c6845c7f2a0fd7f450bfc496444;p=oweals%2Fopenssl.git Revert "Don't crash on a missing Subject in index.txt" This reverts commit a3d684ffca282796511cb8f3593a59a80109eed8. Empty Subjects are permissible Reviewed-by: Richard Levitte (Merged from https://github.com/openssl/openssl/pull/5445) --- diff --git a/apps/ca.c b/apps/ca.c index 4671767fd8..3d23e170b8 100644 --- a/apps/ca.c +++ b/apps/ca.c @@ -880,10 +880,6 @@ int MAIN(int argc, char **argv) } p++; } - if (pp[DB_name][0] == '\0') { - BIO_printf(bio_err, "entry %d: bad Subject\n", i + 1); - goto err; - } } if (verbose) { BIO_set_fp(out, stdout, BIO_NOCLOSE | BIO_FP_TEXT); /* cannot fail */