]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Skip tls-crypt unit tests if required crypto mode not supported
authorSteffan Karger <steffan.karger@fox-it.com>
Mon, 15 May 2017 14:44:43 +0000 (16:44 +0200)
committerGert Doering <gert@greenie.muc.de>
Mon, 12 Jun 2017 17:21:33 +0000 (19:21 +0200)
commit534c8f24bd8ceeaebb326f53363a4e40e970df1e
tree2b70349cd18cf1c6d3a710d2dd0e311ae89d1e74
parent8b03d3d9307b407b0da98ebefb052b1fa87aefe7
Skip tls-crypt unit tests if required crypto mode not supported

Instead of failing the test with an unclear error, print that the a
required crypto primitive is not supported and skip the test.

This is for example the case when using the system-supplied openssl on
SLES11, which does not support AES-256-CTR.

Signed-off-by: Steffan Karger <steffan.karger@fox-it.com>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <1494859483-16466-1-git-send-email-steffan.karger@fox-it.com>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg14657.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
tests/unit_tests/openvpn/test_tls_crypt.c