Ensure bn_cmp_words can handle the case where n == 0
[openssl.git] / test / lhash_test.c
index 44ce623367b6c79b6661f93fbf11be4a53ed6914..162286b7cdd6150fa47a98373e4a2c45547247d6 100644 (file)
@@ -16,7 +16,7 @@
 #include <openssl/err.h>
 #include <openssl/crypto.h>
 
-#include "e_os.h"
+#include "internal/nelem.h"
 #include "testutil.h"
 
 /*
@@ -220,8 +220,9 @@ end:
     return testresult;
 }
 
-void register_tests(void)
+int setup_tests(void)
 {
     ADD_TEST(test_int_lhash);
     ADD_TEST(test_stress);
+    return 1;
 }