X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/e3ac3c05a5af7f36eb895f457e3a627d75a1546b..86916870d36cb70e7ef0ea760e75a6ae8b2d83a5:/sshrand.c diff --git a/sshrand.c b/sshrand.c index 95c7b492..e2386669 100644 --- a/sshrand.c +++ b/sshrand.c @@ -2,6 +2,7 @@ * cryptographic random number generator for PuTTY's ssh client */ +#include "putty.h" #include "ssh.h" void noise_get_heavy(void (*func) (void *, int)); @@ -41,7 +42,7 @@ struct RandPool { static struct RandPool pool; int random_active = 0; -void random_stir(void) +static void random_stir(void) { word32 block[HASHINPUT / sizeof(word32)]; word32 digest[HASHSIZE / sizeof(word32)];