mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-06-30 19:12:48 -05:00
Loose end from timing shakeup: sshrand.c is now a client of
timing.c, and hence takes its own responsibility for calling noise_regular() at regular intervals. Again, this means it will be called consistently in _all_ the SSH-speaking tools, not just those in which I remembered to call it! [originally from svn r4913]
This commit is contained in:
6
putty.h
6
putty.h
@ -742,10 +742,14 @@ void luni_send(void *, wchar_t * widebuf, int len, int interactive);
|
||||
*/
|
||||
|
||||
void random_add_noise(void *noise, int length);
|
||||
void random_init(void);
|
||||
int random_byte(void);
|
||||
void random_get_savedata(void **data, int *len);
|
||||
extern int random_active;
|
||||
/* The random number subsystem is activated if at least one other entity
|
||||
* within the program expresses an interest in it. So each SSH session
|
||||
* calls random_ref on startup and random_unref on shutdown. */
|
||||
void random_ref(void);
|
||||
void random_unref(void);
|
||||
|
||||
/*
|
||||
* Exports from pinger.c.
|
||||
|
Reference in New Issue
Block a user