projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[Win] Fix some test method signatures ...
[openssl.git]
/
test
/
ecdsatest.c
diff --git
a/test/ecdsatest.c
b/test/ecdsatest.c
index ed29bc7e22067001b3f3a0db99389180f2f99887..e53afdf33b264e9822bf0b9a8478f4d0a7e682e4 100644
(file)
--- a/
test/ecdsatest.c
+++ b/
test/ecdsatest.c
@@
-28,10
+28,6
@@
# include <openssl/err.h>
# include <openssl/rand.h>
# 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);
/* 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;
}
return ret;
}
-static int x9_62_tests()
+static int x9_62_tests(
void
)
{
int ret = 0;
{
int ret = 0;
@@
-401,8
+397,6
@@
int setup_tests(void)
#ifdef OPENSSL_NO_EC
TEST_note("Elliptic curves are disabled.");
#else
#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
ADD_TEST(x9_62_tests);
ADD_TEST(test_builtin);
#endif