Welcome to mirror list, hosted at ThFree Co, Russian Federation.

norand.c - github.com/mRemoteNG/PuTTYNG.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 2ad9f6615d478a7d9d0bfad794c14841aff7de68 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
 * 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)
{
}