mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-10 09:58:01 +00:00
d13547d504
While I'm in the mood for cleaning up the top-level directory here: all the 'nostuff.c' files have moved into a new 'stubs' directory, and I broke up be_misc.c into smaller modules that can live in 'utils'.
23 lines
355 B
C
23 lines
355 B
C
/*
|
|
* Stub implementations of RNG functions for applications without an RNG.
|
|
*/
|
|
|
|
#include "putty.h"
|
|
|
|
void random_read(void *out, size_t size)
|
|
{
|
|
unreachable("Random numbers are not available in this application");
|
|
}
|
|
|
|
void random_save_seed(void)
|
|
{
|
|
}
|
|
|
|
void random_destroy_seed(void)
|
|
{
|
|
}
|
|
|
|
void noise_ultralight(NoiseSourceId id, unsigned long data)
|
|
{
|
|
}
|