aboutsummaryrefslogtreecommitdiffstats
path: root/cipher/random.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2000-07-17 14:32:21 +0000
committerWerner Koch <[email protected]>2000-07-17 14:32:21 +0000
commit0bf44b072ca648336bca9cf1ec24ea9d257cea9a (patch)
tree92df532ce40c43627283e16bb5a06f39bd3a466c /cipher/random.c
parentSee ChangeLog: Fri Jul 14 19:38:23 CEST 2000 Werner Koch (diff)
downloadgnupg-0bf44b072ca648336bca9cf1ec24ea9d257cea9a.tar.gz
gnupg-0bf44b072ca648336bca9cf1ec24ea9d257cea9a.zip
See ChangeLog: Mon Jul 17 16:35:47 CEST 2000 Werner Koch
Diffstat (limited to 'cipher/random.c')
-rw-r--r--cipher/random.c4
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
}