aboutsummaryrefslogtreecommitdiff
path: root/src/mbedtls.c
diff options
context:
space:
mode:
authorDavid Timber <mieabby@gmail.com>2020-09-08 19:46:44 +0930
committerDavid Timber <mieabby@gmail.com>2020-09-08 20:10:57 +0930
commit0e512e6ae3146fcf3ce2427c8c36937d708d149b (patch)
tree40a6ad8c64b419e2f8d0bcc289e9608852ff76ae /src/mbedtls.c
parent550d2eec27a42254b26139208765022fffe7c775 (diff)
* 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
Diffstat (limited to 'src/mbedtls.c')
-rw-r--r--src/mbedtls.c3
1 files changed, 2 insertions, 1 deletions
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 <errno.h>
#include <string.h>
@@ -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;