diff options
author | David Timber <mieabby@gmail.com> | 2020-09-14 15:47:30 +0930 |
---|---|---|
committer | David Timber <mieabby@gmail.com> | 2020-09-14 15:47:30 +0930 |
commit | f7f7332afafd4f965c5ef1d45cc1c7da9275c6ef (patch) | |
tree | 53b8e96d2d070215f0c6ee133cdba58ca93a4138 /src/proone-rnd.c | |
parent | c4160ed41717260b5941e2729c444b8ec051d5f0 (diff) |
* Add "--enable-static" configure option
* Change "PRNE_DEBUG" macro use
* Add "PRNE_VERBOSE"
* Impl "recon"
* Add "inet.h" for Internet Protocol stuff
* Changes regarding "PRNE_RND_WELL512_SEEDLEN"
* Add prne_own_realloc() for objects with multiple array memebers
* Add prne_add_timespec()
Diffstat (limited to 'src/proone-rnd.c')
-rw-r--r-- | src/proone-rnd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/proone-rnd.c b/src/proone-rnd.c index b5a1edf..215f930 100644 --- a/src/proone-rnd.c +++ b/src/proone-rnd.c @@ -45,10 +45,10 @@ int main (const int argc, const char **args) { NULL, 0) == 0); { - uint8_t is[64]; + uint8_t is[PRNE_RND_WELL512_SEEDLEN]; prne_assert(mbedtls_ctr_drbg_random(&ctr_drbg, is, sizeof(is)) == 0); - prne_assert(prne_rnd_alloc_well512(&rnd, is, sizeof(is))); + prne_assert(prne_rnd_alloc_well512(&rnd, is)); } arr = prne_calloc(sizeof(uint32_t), max); |