aboutsummaryrefslogtreecommitdiff
path: root/src/proone-rnd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/proone-rnd.c')
-rw-r--r--src/proone-rnd.c4
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);