mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-06-30 19:12:48 -05:00
Label random-noise sources with an enum of ids.
The upcoming PRNG revamp will want to tell noise sources apart, so that it can treat them all fairly. So I've added an extra parameter to noise_ultralight and random_add_noise, which takes values in an enumeration covering all the vague classes of entropy source I'm collecting. In this commit, though, it's simply ignored.
This commit is contained in:
@ -15,7 +15,7 @@ const bool dup_check_launchable = false; /* no need to check host name
|
||||
const bool use_pty_argv = true;
|
||||
|
||||
/* gtkwin.c will call this, and in pterm it's not needed */
|
||||
void noise_ultralight(unsigned long data) { }
|
||||
void noise_ultralight(NoiseSourceId id, unsigned long data) { }
|
||||
|
||||
const struct BackendVtable *select_backend(Conf *conf)
|
||||
{
|
||||
|
Reference in New Issue
Block a user