mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-03 04:22:47 -05:00
Add more random-number noise collection calls.
Mostly on the Unix side: there are lots of places the Windows code was collecting noise that the corresponding Unix/GTK code wasn't bothering to, such as mouse movements, keystrokes and various network events. Also, both platforms had forgotten to collect noise when reading data from a pipe to a local proxy process, even though in that configuration that's morally equivalent to the network packet timings that we'd normally be collecting from.
This commit is contained in:
@ -114,6 +114,9 @@ int first_fd(int *state, int *rwx)
|
||||
void select_result(int fd, int event)
|
||||
{
|
||||
struct fd *fdstruct = find234(fds, &fd, uxsel_fd_findcmp);
|
||||
|
||||
noise_ultralight(fd);
|
||||
|
||||
/*
|
||||
* Apparently this can sometimes be NULL. Can't see how, but I
|
||||
* assume it means I need to ignore the event since it's on an
|
||||
|
Reference in New Issue
Block a user