diff options
author | Matt Johnston <matt@ucc.asn.au> | 2005-05-27 16:37:58 +0000 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2005-05-27 16:37:58 +0000 |
commit | 3d580258052a7c1a117e91782483a95ad8771ff9 (patch) | |
tree | b125ff225a6d994df993d5c589204d59489bf735 /random.c | |
parent | a8785cf71955edac8e54c09287bfb97ffcf760c4 (diff) | |
parent | 0f0a8472d7b42b34e7aef276f765fd3ef76e8ae4 (diff) |
merge of 7d53fee744460df7d2297614c9a4a8a6722eb277
and cc783df3845d0779e2407f0a83fbb605c12efa7d
--HG--
extra : convert_revision : 7494f62a22beadfca8acdf77d8916f36245db04f
Diffstat (limited to 'random.c')
-rw-r--r-- | random.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -27,13 +27,13 @@ #include "dbutil.h" #include "bignum.h" -int donerandinit = 0; +static int donerandinit = 0; /* this is used to generate unique output from the same hashpool */ -unsigned int counter = 0; +static unsigned int counter = 0; #define MAX_COUNTER 1000000/* the max value for the counter, so it won't loop */ -unsigned char hashpool[SHA1_HASH_SIZE]; +static unsigned char hashpool[SHA1_HASH_SIZE]; #define INIT_SEED_SIZE 32 /* 256 bits */ |