projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
The back ends now contain their own copies of the Config structure,
[u/mdw/putty]
/
sshrand.c
diff --git
a/sshrand.c
b/sshrand.c
index
95c7b49
..
e238666
100644
(file)
--- a/
sshrand.c
+++ b/
sshrand.c
@@
-2,6
+2,7
@@
* cryptographic random number generator for PuTTY's ssh client
*/
* cryptographic random number generator for PuTTY's ssh client
*/
+#include "putty.h"
#include "ssh.h"
void noise_get_heavy(void (*func) (void *, int));
#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;
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)];
{
word32 block[HASHINPUT / sizeof(word32)];
word32 digest[HASHSIZE / sizeof(word32)];