util/ck_errf.pl: add detection of unknown libcrypto and libssl libs
[openssl.git] / test / destest.c
index b863ee82759f1dccb4751a3d9a0a3e389a55623b..26c5f83e2ada3ea5b37e532b7b9e566fb4ea8b31 100644 (file)
@@ -10,7 +10,6 @@
 #include <openssl/e_os2.h>
 #include <string.h>
 
-#include "test_main.h"
 #include "testutil.h"
 
 #ifndef OPENSSL_NO_DES
@@ -298,7 +297,7 @@ static char *pt(const unsigned char *p, char buf[DATA_BUF_SIZE])
     ret[16] = '\0';
     return ret;
 }
+
 static int test_des_ecb(int i)
 {
     DES_key_schedule ks;
@@ -694,7 +693,7 @@ static int test_des_quad_cksum(void)
 }
 #endif
 
-void register_tests(void)
+int setup_tests(void)
 {
 #ifndef OPENSSL_NO_DES
     ADD_ALL_TESTS(test_des_ecb, NUM_TESTS);
@@ -718,4 +717,5 @@ void register_tests(void)
     ADD_ALL_TESTS(test_input_align, 4);
     ADD_ALL_TESTS(test_output_align, 4);
 #endif
+    return 1;
 }