From cc7dccb1858e73176814c3a8457ff6f94ff45662 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Wed, 13 Jan 2021 11:36:16 +0000 Subject: Implement handshake timeout for libtls backend --- src/tls/s6-tlsc-io.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/tls/s6-tlsc-io.c') diff --git a/src/tls/s6-tlsc-io.c b/src/tls/s6-tlsc-io.c index 8629a8d..7c92d96 100644 --- a/src/tls/s6-tlsc-io.c +++ b/src/tls/s6-tlsc-io.c @@ -24,14 +24,13 @@ static inline void doit (int *, tain_t const *tto, uint32_t, uint32_t, unsigned static inline void doit (int *fds, tain_t const *tto, uint32_t preoptions, uint32_t options, unsigned int verbosity, char const *servername, unsigned int notif) { - struct tls *ctx = stls_client_init_and_handshake(fds + 2, preoptions, servername) ; + struct tls *ctx = stls_client_init_and_handshake(fds + 2, tto, preoptions, servername) ; if (notif) { if (!stls_send_environment(ctx, notif)) strerr_diefu1sys(111, "write post-handshake data") ; fd_close(notif) ; } - (void)tto ; stls_run(ctx, fds, options, verbosity) ; } -- cgit v1.2.3