Update the test framework so that the need for test_main is removed. Everything
[openssl.git] / test / dtlsv1listentest.c
index b70c60e618056a8c7d9f35bded6c049123aeca44..e401ccffddfa15af36e65023fc56273a4207a3dc 100644 (file)
@@ -348,9 +348,10 @@ static int dtls_listen_test(int i)
 }
 #endif
 
-void register_tests()
+int setup_tests()
 {
 #ifndef OPENSSL_NO_SOCK
     ADD_ALL_TESTS(dtls_listen_test, (int)OSSL_NELEM(testpackets));
 #endif
+    return 1;
 }