]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Fix handling an optional invalid cipher at the end of data-ciphers
authorArne Schwabe <arne@rfc2549.org>
Mon, 6 Dec 2021 15:08:52 +0000 (16:08 +0100)
committerGert Doering <gert@greenie.muc.de>
Mon, 6 Dec 2021 15:42:49 +0000 (16:42 +0100)
commit868433857fbf8d71515ac0ffecb98eae893515dc
treee5ca77a29e80f1706b77ac0b109b03944aa9617e
parent459d9669d1b5ca110107306762625a4fb5650c58
Fix handling an optional invalid cipher at the end of data-ciphers

If an optional cipher was found at the end of --data-cipher that was
not available, it would reset the error and allow non optional ciphers
to be ignored.

Signed-off-by: Arne Schwabe <arne@rfc2549.org>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20211206150852.3142891-1-arne@rfc2549.org>
URL: https://www.mail-archive.com/search?l=mid&q=20211206150852.3142891-1-arne@rfc2549.org
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/ssl_ncp.c
tests/unit_tests/openvpn/test_ncp.c