Fix rpath-related Linux "test_shlibload" failure.
[openssl.git] / test / md2test.c
index 81a1760a47c1d5b2bc02d0af2ec7e3199b8bc563..c5360d68a7848b5a3b9a99af0b41a4b05a3e8fe9 100644 (file)
@@ -9,8 +9,7 @@
 
 #include <string.h>
 
-#include "../e_os.h"
-#include "test_main.h"
+#include "internal/nelem.h"
 #include "testutil.h"
 
 #ifndef OPENSSL_NO_MD2
@@ -59,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;
 }