Latest update.
This commit is contained in:
@@ -240,15 +240,15 @@ static int test_bad_configuration(int idx)
|
||||
return 1;
|
||||
}
|
||||
|
||||
OPT_TEST_DECLARE_USAGE("conf_file\n")
|
||||
|
||||
int setup_tests(void)
|
||||
{
|
||||
if (!TEST_ptr(conf = NCONF_new(NULL)))
|
||||
return 0;
|
||||
/* argument should point to test/ssl_test_ctx_test.conf */
|
||||
if (!TEST_int_gt(NCONF_load(conf, test_get_argument(0), NULL), 0)) {
|
||||
TEST_note("Missing file argument");
|
||||
if (!TEST_int_gt(NCONF_load(conf, test_get_argument(0), NULL), 0))
|
||||
return 0;
|
||||
}
|
||||
|
||||
ADD_TEST(test_empty_configuration);
|
||||
ADD_TEST(test_good_configuration);
|
||||
|
||||
Reference in New Issue
Block a user