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/include/s6-networking/stls.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/include') diff --git a/src/include/s6-networking/stls.h b/src/include/s6-networking/stls.h index 65bb950..071b96b 100644 --- a/src/include/s6-networking/stls.h +++ b/src/include/s6-networking/stls.h @@ -8,6 +8,7 @@ #include #include +#include #define STLS_BUFSIZE (16384 + 325 + 1) @@ -20,7 +21,7 @@ extern void stls_run (struct tls *, int *, uint32_t, unsigned int) gccattr_noret /* s6-tlsc-io and s6-tlsd-io */ -struct tls *stls_client_init_and_handshake (int const *, uint32_t, char const *) ; -struct tls *stls_server_init_and_handshake (int const *, uint32_t) ; +struct tls *stls_client_init_and_handshake (int const *, tain_t const *, uint32_t, char const *) ; +struct tls *stls_server_init_and_handshake (int const *, tain_t const *, uint32_t) ; #endif -- cgit v1.2.3