From 5caf721bbb154c6845c7f2a0fd7f450bfc496444 Mon Sep 17 00:00:00 2001 From: Matt Caswell Date: Fri, 23 Feb 2018 11:05:24 +0000 Subject: [PATCH] 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) --- apps/ca.c | 4 ---- 1 file changed, 4 deletions(-) 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 */ -- 2.25.1