aboutsummaryrefslogtreecommitdiffstats
path: root/src/libtls
diff options
context:
space:
mode:
authorMartin Willi <martin@revosec.ch>2015-04-27 13:09:25 +0200
committerMartin Willi <martin@revosec.ch>2015-07-12 13:25:50 +0200
commitee9f6919158f461ab273a23fb072441cca7ad785 (patch)
tree001771d3fe366be6612370e8ffe591c2be4c02a9 /src/libtls
parent88d90c7b4bf92aeb3ad1c1eadf0d26ff6f7ab627 (diff)
downloadstrongswan-ee9f6919158f461ab273a23fb072441cca7ad785.tar.bz2
strongswan-ee9f6919158f461ab273a23fb072441cca7ad785.tar.xz
unit-tests: Forward variable argument list in TEST_SUITE_DEPEND
For some plugin features, such as crypters or AEADs, we have some additional feature arguments, such as the key size.
Diffstat (limited to 'src/libtls')
-rw-r--r--src/libtls/tests/tls_tests.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libtls/tests/tls_tests.c b/src/libtls/tests/tls_tests.c
index 2c2c5bacc..3f22f9c82 100644
--- a/src/libtls/tests/tls_tests.c
+++ b/src/libtls/tests/tls_tests.c
@@ -25,8 +25,8 @@
static test_configuration_t tests[] = {
#define TEST_SUITE(x) \
{ .suite = x, },
-#define TEST_SUITE_DEPEND(x, type, args) \
- { .suite = x, .feature = PLUGIN_DEPENDS(type, args) },
+#define TEST_SUITE_DEPEND(x, type, ...) \
+ { .suite = x, .feature = PLUGIN_DEPENDS(type, __VA_ARGS__) },
#include "tls_tests.h"
{ .suite = NULL, }
};