From f7f7332afafd4f965c5ef1d45cc1c7da9275c6ef Mon Sep 17 00:00:00 2001 From: David Timber Date: Mon, 14 Sep 2020 15:47:30 +0930 Subject: * 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() --- src/rnd_well512.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'src/rnd_well512.c') diff --git a/src/rnd_well512.c b/src/rnd_well512.c index 5f7b97e..a6bca13 100644 --- a/src/rnd_well512.c +++ b/src/rnd_well512.c @@ -50,16 +50,10 @@ static void rnd_free_well512 (void *p) { bool prne_rnd_alloc_well512 ( prne_rnd_t *p, - const uint8_t *is, - const size_t is_len) + const uint8_t *is) { rnd_well512_ctx_t *ctx; - if (is_len < sizeof(ctx->state)) { - errno = EINVAL; - return false; - } - ctx = (rnd_well512_ctx_t*)prne_calloc(sizeof(rnd_well512_ctx_t), 1); if (ctx == NULL) { return false; -- cgit