Update the test framework so that the need for test_main is removed. Everything
[openssl.git] / test / randtest.c
index 8ef59434cfa183c40f540839dc8c9d5fa4045cd9..47d28f471d2f9c3adac4bbdc8fc77c69dab7db66 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2017 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under the OpenSSL license (the "License").  You may not use
  * this file except in compliance with the License.  You can obtain a copy
@@ -103,7 +103,8 @@ static int fips_random_tests(void)
     return ret;
 }
 
-void register_tests(void)
+int setup_tests(void)
 {
     ADD_TEST(fips_random_tests);
+    return 1;
 }