[Win] Fix some test method signatures ...
[openssl.git] / test / ecdsatest.c
index ed29bc7e22067001b3f3a0db99389180f2f99887..e53afdf33b264e9822bf0b9a8478f4d0a7e682e4 100644 (file)
 # include <openssl/err.h>
 # include <openssl/rand.h>
 
-static const char rnd_seed[] =
-    "string to make the random number generator think it has randomness";
-
-
 /* functions to change the RAND_METHOD */
 static int fbytes(unsigned char *buf, int num);
 
@@ -169,7 +165,7 @@ static int x9_62_test_internal(int nid, const char *r_in, const char *s_in)
     return ret;
 }
 
-static int x9_62_tests()
+static int x9_62_tests(void)
 {
     int ret = 0;
 
@@ -401,8 +397,6 @@ int setup_tests(void)
 #ifdef OPENSSL_NO_EC
     TEST_note("Elliptic curves are disabled.");
 #else
-    /* initialize the prng */
-    RAND_seed(rnd_seed, sizeof(rnd_seed));
     ADD_TEST(x9_62_tests);
     ADD_TEST(test_builtin);
 #endif