1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-06-30 19:12:48 -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:
Simon Tatham
2019-01-22 21:01:26 +00:00
parent c0de1cbbad
commit 76aa3f6f7a
6 changed files with 15 additions and 0 deletions

View File

@ -14,6 +14,9 @@ const bool dup_check_launchable = false; /* no need to check host name
* in conf */
const bool use_pty_argv = true;
/* gtkwin.c will call this, and in pterm it's not needed */
void noise_ultralight(unsigned long data) { }
const struct BackendVtable *select_backend(Conf *conf)
{
return &pty_backend;