]> git.ipfire.org Git - thirdparty/openssl.git/commit
openssl srp: make index.txt parsing error more verbose
authorFlorian Mickler <florian@mickler.org>
Mon, 13 Jan 2020 01:06:49 +0000 (02:06 +0100)
committerTomas Mraz <tomas@openssl.org>
Mon, 24 May 2021 12:37:00 +0000 (14:37 +0200)
commite16d9afe4106503ba6c4b22c9b7c5bd367e3b565
tree7592f09c4365892fd0824509e1a0a9f3a2f96137
parent2c6e33d86362e1b1201edef62205237f1c8e3724
openssl srp: make index.txt parsing error more verbose

If index.txt exists but has some problems (like for example
consisting of a single \n character or number of fields wrong in one of the lines)
then openssl will just exit. This fixes it by printing an error when
load_index returns null.

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