summaryrefslogtreecommitdiffstats
path: root/test/x509_time_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/x509_time_test.c')
-rw-r--r--test/x509_time_test.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/x509_time_test.c b/test/x509_time_test.c
index d86312646d..8f82016e22 100644
--- a/test/x509_time_test.c
+++ b/test/x509_time_test.c
@@ -424,10 +424,11 @@ static int test_days(int n)
return r;
}
-void register_tests()
+int setup_tests()
{
ADD_TEST(test_x509_cmp_time_current);
ADD_ALL_TESTS(test_x509_cmp_time, OSSL_NELEM(x509_cmp_tests));
ADD_ALL_TESTS(test_x509_time, OSSL_NELEM(x509_format_tests));
ADD_ALL_TESTS(test_days, OSSL_NELEM(day_of_week_tests));
+ return 1;
}