mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-01 19:42:48 -05:00
Centralise 'no random numbers' stubs into norand.c.
This is a small cleanup that removes a couple of copies of some boring stubs, in favour of having just one copy that you can link against. Unix Pageant can't currently use this, because it's in a precarious state of _nearly_ having a random number generator: it links against sshprng but not sshrand, and only uses it for the randomised keypress acknowledgments in the GUI askpass prompt. But that means it does use uxnoise, unlike the truly randomness-free tools.
This commit is contained in:
15
be_nossh.c
15
be_nossh.c
@ -16,18 +16,3 @@ const struct BackendVtable *const backends[] = {
|
||||
&raw_backend,
|
||||
NULL
|
||||
};
|
||||
|
||||
/*
|
||||
* Stub implementations of functions not used in non-ssh versions.
|
||||
*/
|
||||
void random_save_seed(void)
|
||||
{
|
||||
}
|
||||
|
||||
void random_destroy_seed(void)
|
||||
{
|
||||
}
|
||||
|
||||
void noise_ultralight(NoiseSourceId id, unsigned long data)
|
||||
{
|
||||
}
|
||||
|
Reference in New Issue
Block a user