test/shlibloadtest.c: make some variables block local
[openssl.git] / test / ideatest.c
index 14d69dc3214fb26ca97fa24c58c73b3000b5cf80..c80e18f80ab77fc8299dfdccf6583542c66d9221 100644 (file)
@@ -9,7 +9,7 @@
 
 #include <string.h>
 
-#include "../e_os.h"
+#include "internal/nelem.h"
 #include "testutil.h"
 
 #ifndef OPENSSL_NO_IDEA
@@ -108,11 +108,12 @@ static int test_idea_cfb64(void)
 }
 #endif
 
-void register_tests(void)
+int setup_tests(void)
 {
 #ifndef OPENSSL_NO_IDEA
     ADD_TEST(test_idea_ecb);
     ADD_TEST(test_idea_cbc);
     ADD_TEST(test_idea_cfb64);
 #endif
+    return 1;
 }