From 0e512e6ae3146fcf3ce2427c8c36937d708d149b Mon Sep 17 00:00:00 2001 From: David Timber Date: Tue, 8 Sep 2020 19:46:44 +0930 Subject: * Fix bug in pth_poll: wrong use of FD_SET() causing undefined behaviour * Fix bug in proone: loading ns pool from dvault for resolv * Fix bug in htbt: improper handling of stream in htbt_relay_child() * Switch back to _POSIX_C_SOURCE=200112L --- src/mbedtls.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/mbedtls.c') diff --git a/src/mbedtls.c b/src/mbedtls.c index 3b1c49f..65d2685 100644 --- a/src/mbedtls.c +++ b/src/mbedtls.c @@ -1,6 +1,7 @@ #include "mbedtls.h" #include "util_ct.h" #include "util_rt.h" +#include "pth.h" #include #include @@ -139,7 +140,7 @@ bool prne_mbedtls_pth_handle ( } do { - pollret = pth_poll_ev(&pfd, 1, -1, ev); + pollret = prne_pth_poll(&pfd, 1, -1, ev); if (pollret < 0) { if (errno == EINTR) { continue; -- cgit