Update the test framework so that the need for test_main is removed. Everything
[openssl.git] / test / hmactest.c
index e837391ae6d6869b21f6522b2924fbc6f89ff229..2431be5cb69ca4e4cfedb5ccceda6ea68693a8f5 100644 (file)
@@ -236,12 +236,13 @@ static char *pt(unsigned char *md, unsigned int len)
 }
 # endif
 
-void register_tests(void)
+int setup_tests(void)
 {
     ADD_ALL_TESTS(test_hmac_md5, 4);
     ADD_TEST(test_hmac_single_shot);
     ADD_TEST(test_hmac_bad);
     ADD_TEST(test_hmac_run);
     ADD_TEST(test_hmac_copy);
+    return 1;
 }