]> git.ipfire.org Git - thirdparty/openssl.git/commit - apps/ca.c
openssl ca: make index.txt parsing error more verbose
authorFlorian Mickler <florian@mickler.org>
Mon, 13 Jan 2020 00:44:24 +0000 (01:44 +0100)
committerTomas Mraz <tomas@openssl.org>
Mon, 24 May 2021 12:36:59 +0000 (14:36 +0200)
commitca29cc1453945fe92c86a312c0f94a8976a46856
tree633f1fc7526fe3c75a35bc430f85de045277c2cf
parent669967fdd8e2174ed2b812df8488715c82f21360
openssl ca: make index.txt parsing error more verbose

If index.txt exists but has some problems (like for example a single \n character in it) openssl will just exit without any error message.

Bug at least expirienced twice: https://superuser.com/questions/1327848/openssl-ca-fails-after-password-without-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/ca.c