From e38a132e37fcd3307b7a93c5c867145454f79b4e Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Fri, 17 Nov 2023 03:04:59 +0000 Subject: Fix stls_run; sbearssl_run needs a rewrite Signed-off-by: Laurent Bercot --- src/tls/s6tls_prep_tlscio.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/tls/s6tls_prep_tlscio.c') diff --git a/src/tls/s6tls_prep_tlscio.c b/src/tls/s6tls_prep_tlscio.c index 0b7ff1f..f56106f 100644 --- a/src/tls/s6tls_prep_tlscio.c +++ b/src/tls/s6tls_prep_tlscio.c @@ -25,9 +25,9 @@ void s6tls_prep_tlscio (char const **argv, char *buf, int const *p, uint32_t opt n += uint_fmt(buf + n, p[5]) ; buf[n++] = 0 ; } - argv[m++] = options & 4 ? "-S" : "-s" ; - argv[m++] = options & 2 ? "-J" : "-j" ; - argv[m++] = options & 1 ? "-y" : "-Y" ; + if (options & 4) argv[m++] = "-S" ; + if (options & 2) argv[m++] = "-J" ; + if (options & 1) argv[m++] = "-y" ; if (kimeout) { argv[m++] = "-K" ; -- cgit v1.2.3