diff options
author | David Timber <mieabby@gmail.com> | 2020-08-10 19:25:43 +0930 |
---|---|---|
committer | David Timber <mieabby@gmail.com> | 2020-08-11 11:01:49 +0930 |
commit | d7cc11191dfd3fead5e596fcbc24f40d1317819e (patch) | |
tree | 4f52b450bf499fe6721a944f2e9cd41cb1e17828 /src/proone-stress.c | |
parent | 195946d11f8a7870b435e0eba32f2299aa1b96a1 (diff) |
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
Diffstat (limited to 'src/proone-stress.c')
-rw-r--r-- | src/proone-stress.c | 3 |
1 files changed, 2 insertions, 1 deletions
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); |