Loading crypto/dh/dhtest.c +4 −0 Original line number Diff line number Diff line Loading @@ -87,6 +87,8 @@ static void MS_CALLBACK cb(int p, int n, void *arg); #include "bss_file.c" #endif static const char rnd_seed[] = "string to make the random number generator think it has entropy"; int main(int argc, char *argv[]) { DH *a; Loading @@ -100,6 +102,8 @@ int main(int argc, char *argv[]) CRYPTO_malloc_init(); #endif RAND_seed(rnd_seed, sizeof rnd_seed); out=BIO_new(BIO_s_file()); if (out == NULL) exit(1); BIO_set_fp(out,stdout,BIO_NOCLOSE); Loading crypto/dsa/dsatest.c +4 −0 Original line number Diff line number Diff line Loading @@ -120,6 +120,8 @@ static unsigned char out_g[]={ static const unsigned char str1[]="12345678901234567890"; static const char rnd_seed[] = "string to make the random number generator think it has entropy"; static BIO *bio_err=NULL; int main(int argc, char **argv) Loading @@ -131,6 +133,8 @@ int main(int argc, char **argv) unsigned char sig[256]; unsigned int siglen; RAND_seed(rnd_seed, sizeof rnd_seed); if (bio_err == NULL) bio_err=BIO_new_fp(stderr,BIO_NOCLOSE); Loading Loading
crypto/dh/dhtest.c +4 −0 Original line number Diff line number Diff line Loading @@ -87,6 +87,8 @@ static void MS_CALLBACK cb(int p, int n, void *arg); #include "bss_file.c" #endif static const char rnd_seed[] = "string to make the random number generator think it has entropy"; int main(int argc, char *argv[]) { DH *a; Loading @@ -100,6 +102,8 @@ int main(int argc, char *argv[]) CRYPTO_malloc_init(); #endif RAND_seed(rnd_seed, sizeof rnd_seed); out=BIO_new(BIO_s_file()); if (out == NULL) exit(1); BIO_set_fp(out,stdout,BIO_NOCLOSE); Loading
crypto/dsa/dsatest.c +4 −0 Original line number Diff line number Diff line Loading @@ -120,6 +120,8 @@ static unsigned char out_g[]={ static const unsigned char str1[]="12345678901234567890"; static const char rnd_seed[] = "string to make the random number generator think it has entropy"; static BIO *bio_err=NULL; int main(int argc, char **argv) Loading @@ -131,6 +133,8 @@ int main(int argc, char **argv) unsigned char sig[256]; unsigned int siglen; RAND_seed(rnd_seed, sizeof rnd_seed); if (bio_err == NULL) bio_err=BIO_new_fp(stderr,BIO_NOCLOSE); Loading