From f5d9956c3e2343455a3025b9d38c539b680da8f5 Mon Sep 17 00:00:00 2001 From: David Timber Date: Sat, 13 Nov 2021 22:35:31 +0800 Subject: Doc progress, improve prne_mbedtls_pth_handle() .. * Add param to prne_mbedtls_pth_handle() for returning return value from the function or poll(). --- src/bne.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/bne.c') diff --git a/src/bne.c b/src/bne.c index fef86dd..3927760 100644 --- a/src/bne.c +++ b/src/bne.c @@ -2123,7 +2123,8 @@ static bool bne_vhtbt_do_handshake ( &vctx->ssl, mbedtls_ssl_handshake, vctx->fd, - *ev)) + *ev, + NULL)) { return false; } @@ -2771,7 +2772,8 @@ static bool bne_do_vec_htbt (prne_bne_t *ctx) { &vctx.ssl, mbedtls_ssl_close_notify, vctx.fd, - ev)) + ev, + NULL)) { prne_shutdown(vctx.fd, SHUT_RDWR); } -- cgit