]> 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>
Fri, 11 Nov 2022 13:38:10 +0000 (14:38 +0100)
commitb43a9b9f3324ccd7dffde3048c616aa5becc2b13
treeb355f5740c40cd2aea33163da56069858dc1da7a
parentabe0bb1a7f727a24e2d7cb7215cb309aea5fcffc
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>
(cherry picked from commit 868433857fbf8d71515ac0ffecb98eae893515dc)
src/openvpn/ssl_ncp.c
tests/unit_tests/openvpn/test_ncp.c