]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Check return values in md_ctx_init and hmac_ctx_init
authorArne Schwabe <arne@rfc2549.org>
Mon, 1 Feb 2021 17:43:08 +0000 (18:43 +0100)
committerGert Doering <gert@greenie.muc.de>
Sun, 14 Feb 2021 14:12:58 +0000 (15:12 +0100)
commit0714ed804e40f80b48a7571193d7e4d81d2bcd4b
tree62d57462591b03a469d370ce51897c2ed73f5653
parentfdfbd4441c2225dc69431c57d18291e103c466cf
Check return values in md_ctx_init and hmac_ctx_init

Without this OpenVPN will later segfault on a FIPS enabled system due
to the algorithm available but not allowed.

Patch V2: Use (!func) instead (func != 1)

Signed-off-by: Arne Schwabe <arne@rfc2549.org>
Acked-by: Antonio Quartulli <antonio@openvpn.net>
Message-Id: <20210201174310.22153-2-arne@rfc2549.org>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg21546.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/crypto_openssl.c