aboutsummaryrefslogtreecommitdiffstats
path: root/src/charon-tkm
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/charon-tkm
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/charon-tkm')
-rw-r--r--src/charon-tkm/tests/tests.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/charon-tkm/tests/tests.c b/src/charon-tkm/tests/tests.c
index 669f4d500..ac152b690 100644
--- a/src/charon-tkm/tests/tests.c
+++ b/src/charon-tkm/tests/tests.c
@@ -36,8 +36,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 "tests.h"
{ .suite = NULL, }
};