From d8ca717da164c3e76ebb56c954d0a08544955601 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Sun, 12 Nov 2023 10:58:36 +0000 Subject: Fix sbearssl_run even more Signed-off-by: Laurent Bercot --- src/tls/s6-tlsc-io.c | 4 ++-- src/tls/s6-tlsd-io.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/tls') diff --git a/src/tls/s6-tlsc-io.c b/src/tls/s6-tlsc-io.c index 57b1442..e64c014 100644 --- a/src/tls/s6-tlsc-io.c +++ b/src/tls/s6-tlsc-io.c @@ -69,11 +69,11 @@ int main (int argc, char const *const *argv, char const *const *envp) { char const *servername = 0 ; tain tto ; - int fds[4] = { 0, 1, 6, 7 } ; + int fds[4] = { 0, 1 } ; unsigned int verbosity = 1 ; unsigned int notif = 0 ; uint32_t preoptions = 0 ; - uint32_t options = 2 ; + uint32_t options = 0 ; PROG = "s6-tlsc-io" ; { diff --git a/src/tls/s6-tlsd-io.c b/src/tls/s6-tlsd-io.c index 0aa19c9..fac2164 100644 --- a/src/tls/s6-tlsd-io.c +++ b/src/tls/s6-tlsd-io.c @@ -66,7 +66,7 @@ static inline void doit (int *fds, tain const *tto, uint32_t preoptions, uint32_ int main (int argc, char const *const *argv) { tain tto ; - int fds[4] = { 0, 1, 0, 1 } ; + int fds[4] = { [2] = 0, [3] = 1 } ; unsigned int verbosity = 1 ; unsigned int notif = 0 ; uint32_t preoptions = 0 ; -- cgit v1.3.1