1
0
Fork 0
mirror of https://github.com/eosswedenorg/libantelope synced 2026-06-16 19:50:01 +02:00

src/libsecp256k1/rng.h: add header guard.

This commit is contained in:
Henrik Hautakoski 2023-04-06 14:48:17 +02:00
parent aa6bff9a84
commit 98a1ce7fcc

View file

@ -4,6 +4,9 @@
* EXAMPLES_COPYING or https://creativecommons.org/publicdomain/zero/1.0 *
*************************************************************************/
#ifndef LIBANTELOPE_LIBSECP256K1_RNG_H
#define LIBANTELOPE_LIBSECP256K1_RNG_H
/*
* This file is an attempt at collecting best practice methods for obtaining randomness with different operating systems.
* It may be out-of-date. Consult the documentation of the operating system before considering to use the methods below.
@ -64,4 +67,6 @@ static int fill_random(unsigned char* data, size_t size) {
}
#endif
return 0;
}
}
#endif /* LIBANTELOPE_LIBSECP256K1_RNG_H */