Commit 5caf721b authored by Matt Caswell's avatar Matt Caswell
Browse files

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



This reverts commit a3d684ff.

Empty Subjects are permissible

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