mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-09 17:38:00 +00:00
random_stir() is unused outside this file. Make it static.
Include putty.h to get prototypes for random_init() and random_get_savedata(). [originally from svn r2482]
This commit is contained in:
parent
a6c994ca94
commit
4296e6b786
@ -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)];
|
||||
|
Loading…
Reference in New Issue
Block a user