Use .cnf for config files, not .conf
[openssl.git] / test / ssl_test.c
index 4f82bf72560cd41c980cbb6fcd83895afc5cd308..e6ce9a674151cff1502d9985a457035c73f354bb 100644 (file)
@@ -500,10 +500,17 @@ err:
     return ret;
 }
 
+OPT_TEST_DECLARE_USAGE("conf_file\n")
+
 int setup_tests(void)
 {
     long num_tests;
 
+    if (!test_skip_common_options()) {
+        TEST_error("Error parsing test options\n");
+        return 0;
+    }
+
     if (!TEST_ptr(conf = NCONF_new(NULL))
             /* argv[1] should point to the test conf file */
             || !TEST_int_gt(NCONF_load(conf, test_get_argument(0), NULL), 0)