]> 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:50:23 +0000 (19:50 +0200)
commit84372cb6a67d1c088b01ed253697199995a8ab85
tree4a5afd42c23778a5f2d9dc0de05fc447dfe0e520
parent110f1e14da97918592a36d4405c807e76d9ad51c
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>
(cherry picked from commit 534c8f24bd8ceeaebb326f53363a4e40e970df1e)
tests/unit_tests/openvpn/test_tls_crypt.c