]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Remove dependency on BF-CBC existance from test_ncp
authorArne Schwabe <arne@rfc2549.org>
Fri, 13 May 2022 08:36:35 +0000 (10:36 +0200)
committerGert Doering <gert@greenie.muc.de>
Fri, 13 May 2022 08:41:15 +0000 (10:41 +0200)
commit263436fdb06cc2364f9667bc1adead70aeb93ecc
tree3f42a416737cc17676dbe85f8d2822cab1cfd009
parent3690939126cf84b166157bad96e724caea61346d
Remove dependency on BF-CBC existance from test_ncp

The test_check_ncp_ciphers_list test assumed that BF-CBC is always
available, which is no longer the case with OpenSSL 3.0. Rewrite the
test to not rely on BF-CBC to be available.

This is a cherry-pick from c07f95f3

Patch V2: manually fix if condition. Somehow the git cherry-pick ended up
          with a broken if condition.

Signed-off-by: Arne Schwabe <arne@rfc2549.org>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20220513083635.2199131-1-arne@rfc2549.org>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg24346.html

Signed-off-by: Gert Doering <gert@greenie.muc.de>
tests/unit_tests/openvpn/test_ncp.c