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:
parent
aa6bff9a84
commit
98a1ce7fcc
1 changed files with 6 additions and 1 deletions
|
|
@ -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 */
|
||||
Loading…
Add table
Add a link
Reference in a new issue