From d7cc11191dfd3fead5e596fcbc24f40d1317819e Mon Sep 17 00:00:00 2001 From: David Timber Date: Mon, 10 Aug 2020 19:25:43 +0930 Subject: Build system change, bugfix ... * Workaround for a bug where getrandom() call block within mbedtls * Remove use of undocumented autoconf feature: pkg-config * Remove proone-arch-test --- src/proone-stress.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/proone-stress.c') diff --git a/src/proone-stress.c b/src/proone-stress.c index 31ab1b8..8487a71 100644 --- a/src/proone-stress.c +++ b/src/proone-stress.c @@ -23,6 +23,7 @@ #include "util_ct.h" #include "util_rt.h" #include "llist.h" +#include "mbedtls.h" typedef struct { @@ -306,7 +307,7 @@ static void do_cycle (priv_ctx_t *priv_ctx, shared_ctx_t *ctx) { static void child_main (shared_ctx_t *ctx) { priv_ctx_t priv_ctx; - mbedtls_entropy_init(&priv_ctx.ent); + prne_mbedtls_entropy_init(&priv_ctx.ent); mbedtls_ctr_drbg_init(&priv_ctx.ctx); assert(mbedtls_ctr_drbg_seed(&priv_ctx.ctx, mbedtls_entropy_func, &priv_ctx.ent, NULL, 0) == 0); -- cgit