Fix common test framework options
[openssl.git] / test / dtlstest.c
index 022b4c014966592cbadbdc02702cc022abc7860f..607768832b19c2fa7369b7649a33a3cb7a4bceae 100644 (file)
@@ -332,6 +332,11 @@ OPT_TEST_DECLARE_USAGE("certfile privkeyfile\n")
 
 int setup_tests(void)
 {
+    if (!test_skip_common_options()) {
+        TEST_error("Error parsing test options\n");
+        return 0;
+    }
+
     if (!TEST_ptr(cert = test_get_argument(0))
             || !TEST_ptr(privkey = test_get_argument(1)))
         return 0;