summaryrefslogtreecommitdiffstats
path: root/test/cmsapitest.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/cmsapitest.c')
-rw-r--r--test/cmsapitest.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/cmsapitest.c b/test/cmsapitest.c
index 2ea8af58b3..3ab1b82f96 100644
--- a/test/cmsapitest.c
+++ b/test/cmsapitest.c
@@ -65,6 +65,11 @@ int setup_tests(void)
char *certin = NULL, *privkeyin = NULL;
BIO *certbio = NULL, *privkeybio = NULL;
+ if (!test_skip_common_options()) {
+ TEST_error("Error parsing test options\n");
+ return 0;
+ }
+
if (!TEST_ptr(certin = test_get_argument(0))
|| !TEST_ptr(privkeyin = test_get_argument(1)))
return 0;