openssl ocsp: make index.txt parsing error more verbose
authorFlorian Mickler <florian@mickler.org>
Mon, 13 Jan 2020 01:05:22 +0000 (02:05 +0100)
committerTomas Mraz <tomas@openssl.org>
Mon, 24 May 2021 12:37:00 +0000 (14:37 +0200)
commit2c6e33d86362e1b1201edef62205237f1c8e3724
tree60eb1527414b57b210f3ecf9961273c594eb4cb2
parentca29cc1453945fe92c86a312c0f94a8976a46856
openssl ocsp: make index.txt parsing error more verbose

If index.txt exists but has some problems (like for example consisting of a single \n character in it,
or some field-number error in one of the lines) openssl will just exit without any error message.

Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15360)
apps/ocsp.c