Removing unnecessary call to seed prng for fuzz testing

This commit is contained in:
Brendan Hay 2019-10-03 23:18:00 +02:00
parent 1609be8fcd
commit 0687d3e0fb
No known key found for this signature in database
GPG Key ID: 80E915C54A7C457D

View File

@ -14,7 +14,6 @@
#include <ncurses/term.h>
#include <dirent.h>
#include <openssl/ssl.h>
#include <openssl/rand.h>
#include <h2o.h>
#include <curl/curl.h>
#include <argon2.h>
@ -677,10 +676,6 @@ main(c3_i argc,
printf("boot: running as daemon\n");
}
// Seed prng. Don't panic -- just for fuzz testing.
//
srand(getpid());
// Instantiate process globals.
{
/* Boot the image and checkpoint. Set flags.