From e81c2636cee72af718e99fd98006fa9277de2a65 Mon Sep 17 00:00:00 2001 From: David Timber Date: Thu, 3 Sep 2020 11:38:09 +0930 Subject: * Impl: CNCP * [htbt] Use randomly generated number for SOLICIT request * Die on pth sync funcs only if debug build * Fix wrong use of pth_mutex_acquire(): use with event can result in failure * [htbt] Take "blackhole" fd as param * Remove unused include to reduce compile time * [htbt] Add const macro values for random msg_id gen * [resolv] Make prne_resolv_prm_t reusable * [resolv] Fix mem leak in proone-resolv * [resolv] Sanity check before returning prm so users don't have to worry about SEGFAULT * Add txtrec-*.sh for CNCP --- src/htbt.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/htbt.h') diff --git a/src/htbt.h b/src/htbt.h index adc95e4..698e63f 100644 --- a/src/htbt.h +++ b/src/htbt.h @@ -30,6 +30,7 @@ struct prne_htbt_param { mbedtls_ctr_drbg_context *ctr_drbg; prne_resolv_t *resolv; prne_htbt_cbset_t cb_f; + int blackhole; }; -- cgit