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/tls/s6-tlsd-io.c | |
parent | 23f7b20aeac1d337587d4f59779df94c82dc06b7 (diff) | |
download | s6-networking-cc7dccb1858e73176814c3a8457ff6f94ff45662.tar.xz |
Implement handshake timeout for libtls backend
Diffstat (limited to 'src/tls/s6-tlsd-io.c')
-rw-r--r-- | src/tls/s6-tlsd-io.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/tls/s6-tlsd-io.c b/src/tls/s6-tlsd-io.c index b6621dd..01f0d74 100644 --- a/src/tls/s6-tlsd-io.c +++ b/src/tls/s6-tlsd-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, unsigned int notif) { - struct tls *ctx = stls_server_init_and_handshake(fds + 2, preoptions) ; + struct tls *ctx = stls_server_init_and_handshake(fds + 2, tto, preoptions) ; 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) ; } |