Fix reseeding issues of the public RAND_DRBG
[openssl.git] / test / md2test.c
index 7a1436de2f7b4a138b67c8556013177017d24f9a..c5360d68a7848b5a3b9a99af0b41a4b05a3e8fe9 100644 (file)
@@ -9,7 +9,7 @@
 
 #include <string.h>
 
-#include "../e_os.h"
+#include "internal/nelem.h"
 #include "testutil.h"
 
 #ifndef OPENSSL_NO_MD2
@@ -58,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;
 }