mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-09 09:27:59 +00:00
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)
|
||
|
{
|
||
|
}
|