]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - test/rc5test.c
Update the test framework so that the need for test_main is removed. Everything
[thirdparty/openssl.git] / test / rc5test.c
index d806b2edde7e49eb250dcfd06014bf4e8be20020..16a0364630514c83ef7112f12a5ed947e3e08893 100644 (file)
@@ -224,10 +224,11 @@ static int test_rc5_cbc(int n)
 }
 #endif
 
-void register_tests(void)
+int setup_tests(void)
 {
 #ifndef OPENSSL_NO_RC5
     ADD_ALL_TESTS(test_rc5_ecb, OSSL_NELEM(RC5key));
     ADD_ALL_TESTS(test_rc5_cbc, RC5_CBC_NUM);
 #endif
+    return 1;
 }