Mercurial > dropbear
diff random.c @ 205:3924393e2456
merge of 7d53fee744460df7d2297614c9a4a8a6722eb277
and cc783df3845d0779e2407f0a83fbb605c12efa7d
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Fri, 27 May 2005 16:37:58 +0000 |
parents | 65585699d980 |
children | ca7e76d981d9 3be7ae2e8dfa |
line wrap: on
line diff
--- a/random.c Fri May 27 16:34:57 2005 +0000 +++ b/random.c Fri May 27 16:37:58 2005 +0000 @@ -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 */