aboutsummaryrefslogtreecommitdiff
path: root/src/bne.c
diff options
context:
space:
mode:
authorDavid Timber <mieabby@gmail.com>2021-11-13 22:35:31 +0800
committerDavid Timber <mieabby@gmail.com>2021-11-13 22:35:31 +0800
commitf5d9956c3e2343455a3025b9d38c539b680da8f5 (patch)
tree717c48f651899623f818a76f9d08ed7cb0aaee43 /src/bne.c
parentd19a792e58eba8f13d9c7a0160cc5f1402e7f117 (diff)
Doc progress, improve prne_mbedtls_pth_handle() ..
* Add param to prne_mbedtls_pth_handle() for returning return value from the function or poll().
Diffstat (limited to 'src/bne.c')
-rw-r--r--src/bne.c6
1 files changed, 4 insertions, 2 deletions
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);
}