diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2021-01-13 11:36:16 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2021-01-13 11:36:16 +0000 |
commit | cc7dccb1858e73176814c3a8457ff6f94ff45662 (patch) | |
tree | 746a462d3a58b4dc19c240bcbf9f224e593e23e7 /src/include | |
parent | 23f7b20aeac1d337587d4f59779df94c82dc06b7 (diff) | |
download | s6-networking-cc7dccb1858e73176814c3a8457ff6f94ff45662.tar.xz |
Implement handshake timeout for libtls backend
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/s6-networking/stls.h | 5 |
1 files changed, 3 insertions, 2 deletions
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 <tls.h> #include <skalibs/gccattributes.h> +#include <skalibs/tai.h> #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 |