aboutsummaryrefslogtreecommitdiff
path: root/test/cmp_msg_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/cmp_msg_test.c')
-rw-r--r--test/cmp_msg_test.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/cmp_msg_test.c b/test/cmp_msg_test.c
index 463c607..7fa0619 100644
--- a/test/cmp_msg_test.c
+++ b/test/cmp_msg_test.c
@@ -538,6 +538,11 @@ void cleanup_tests(void)
int setup_tests(void)
{
+ if (!test_skip_common_options()) {
+ TEST_error("Error parsing test options\n");
+ return 0;
+ }
+
if (!TEST_ptr(server_cert_f = test_get_argument(0))
|| !TEST_ptr(pkcs10_f = test_get_argument(1))) {
TEST_error("usage: cmp_msg_test server.crt pkcs10.der\n");