Update the test framework so that the need for test_main is removed. Everything
[openssl.git] / test / md2test.c
index 7a1436de2f7b4a138b67c8556013177017d24f9a..cda84697afcc9571f84d0109fb5fdfa6b93d1a55 100644 (file)
@@ -58,9 +58,10 @@ static int test_md2(int n)
 }
 #endif
 
-void register_tests(void)
+int setup_tests(void)
 {
 #ifndef OPENSSL_NO_MD2
     ADD_ALL_TESTS(test_md2, OSSL_NELEM(test));
 #endif
+    return 1;
 }