diff options
Diffstat (limited to 'cipher/random.c')
-rw-r--r-- | cipher/random.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cipher/random.c b/cipher/random.c index f8faeebf0..0258f5dd0 100644 --- a/cipher/random.c +++ b/cipher/random.c @@ -666,9 +666,9 @@ gather_faked( void (*add)(const void*, size_t, int), int requester, #endif initialized=1; #ifdef HAVE_RAND - srand(make_timestamp()*getpid()); + srand( time(NULL)*getpid()); #else - srandom(make_timestamp()*getpid()); + srandom( time(NULL)*getpid()); #endif } |