Windows: fix warning: 'rng_nix' defined but not used
This commit is contained in:
parent
55a7eead7f
commit
6d70827d1f
@ -14,7 +14,7 @@
|
|||||||
portable way to get secure random bits to feed a PRNG (Tom St Denis)
|
portable way to get secure random bits to feed a PRNG (Tom St Denis)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef LTC_DEVRANDOM
|
#if defined(LTC_DEVRANDOM) && !defined(_WIN32)
|
||||||
/* on *NIX read /dev/random */
|
/* on *NIX read /dev/random */
|
||||||
static unsigned long rng_nix(unsigned char *buf, unsigned long len,
|
static unsigned long rng_nix(unsigned char *buf, unsigned long len,
|
||||||
void (*callback)(void))
|
void (*callback)(void))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user