Update the test framework so that the need for test_main is removed. Everything
[openssl.git] / test / exptest.c
index 9de922e9790c90a6f64db4eb39a8028c77fd983d..11347123e665dc9e3720cb0af76e65d23a7adb60 100644 (file)
@@ -198,8 +198,9 @@ static int test_mod_exp(int round)
     return ret;
 }
 
-void register_tests(void)
+int setup_tests(void)
 {
     ADD_TEST(test_mod_exp_zero);
     ADD_ALL_TESTS(test_mod_exp, 200);
+    return 1;
 }