]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Do not error when md_kt_size() is called with mdname="none"
authorSelva Nair <selva.nair@gmail.com>
Fri, 21 Jan 2022 18:57:52 +0000 (13:57 -0500)
committerGert Doering <gert@greenie.muc.de>
Wed, 26 Jan 2022 13:36:40 +0000 (14:36 +0100)
commit9076d90684c06c8f0ac0ba4c099b00ddbc4ab29d
tree359a45ca9f62576833431bbc0ecd1a3f9e8ebe45
parent627d1a3d286386067a93b755def308ea70060310
Do not error when md_kt_size() is called with mdname="none"

An easy way to trigger this error is to run an otherwise working setup
(at say verb = 4) with increased verbosity of verb >= 7 and using a GCM
cipher (e.g., AES-256-GCM). It will cause a fatal exit while printing the
cipher and hmac in key2_print().

Signed-off-by: Selva Nair <selva.nair@gmail.com>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20220121185752.14138-1-selva.nair@gmail.com>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg23631.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/crypto_openssl.c