summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2018-02-23 09:46:06 +0000
committerMatt Caswell <matt@openssl.org>2018-03-15 13:32:23 +0000
commit9995007afff6384866f8db4ab986b9a3edb97ecd (patch)
tree8bba7469e988732c4cacda134f6a2bcf060a7819
parent98e4c100d2cd33f3be24b1210f403ef1a41fa36a (diff)
Revert "Don't crash on a missing Subject in index.txt"
This reverts commit 462163e91a6f06e8bf0791a01f6e0a1897ad2081. Empty subjects should be permissible. Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/5627)
-rw-r--r--apps/ca.c4
1 files changed, 0 insertions, 4 deletions
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);