Move curve448_test.c to be a full internal test
[openssl.git] / test / rc2test.c
index 2553c914f11a0e957e0a14798c99d89e5da33d0d..e64d1a728503939e4cc4931d7d0cd7cb27fcee41 100644 (file)
@@ -7,8 +7,7 @@
  * https://www.openssl.org/source/license.html
  */
 
-#include "../e_os.h"
-#include "test_main.h"
+#include "internal/nelem.h"
 #include "testutil.h"
 
 #ifndef OPENSSL_NO_RC2
@@ -60,9 +59,10 @@ static int test_rc2(const int n)
 
 #endif
 
-void register_tests(void)
+int setup_tests(void)
 {
 #ifndef OPENSSL_NO_RC2
     ADD_ALL_TESTS(test_rc2, OSSL_NELEM(RC2key));
 #endif
+    return 1;
 }