Commit 9995007a authored by Matt Caswell's avatar Matt Caswell
Browse files

Revert "Don't crash on a missing Subject in index.txt"



This reverts commit 462163e9.

Empty subjects should be permissible.

Reviewed-by: default avatarRichard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5627)
parent 98e4c100
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -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);