Skip to content
This repository has been archived by the owner on Apr 19, 2024. It is now read-only.

Commit

Permalink
random_stir() is unused outside this file. Make it static.
Browse files Browse the repository at this point in the history
Include putty.h to get prototypes for random_init() and random_get_savedata().

[originally from svn r2482]
  • Loading branch information
bjh21 committed Jan 5, 2003
1 parent a6c994c commit 4296e6b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sshrand.c
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down Expand Up @@ -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)];
Expand Down

0 comments on commit 4296e6b

Please sign in to comment.