Fix common test framework options
[openssl.git] / test / recordlentest.c
index 9be354bea81fbb8dd46ad0fc45e84cb25eba6cf3..01cc53469b8099ea4206412b6034e0d78ee3213f 100644 (file)
@@ -185,6 +185,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;