diff options
| author | Laurent Bercot <ska-skaware@skarnet.org> | 2023-11-17 03:04:59 +0000 |
|---|---|---|
| committer | Laurent Bercot <ska@appnovation.com> | 2023-11-17 03:04:59 +0000 |
| commit | e38a132e37fcd3307b7a93c5c867145454f79b4e (patch) | |
| tree | 1e582510fb60981f0de4c7d7763e07de576ad9ef /src/tls/s6tls_prep_tlsdio.c | |
| parent | 26597a785ec2dd4e9ec9fb7d9765d2ee8779ee16 (diff) | |
| download | s6-networking-e38a132e37fcd3307b7a93c5c867145454f79b4e.tar.gz | |
Fix stls_run; sbearssl_run needs a rewrite
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/tls/s6tls_prep_tlsdio.c')
| -rw-r--r-- | src/tls/s6tls_prep_tlsdio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tls/s6tls_prep_tlsdio.c b/src/tls/s6tls_prep_tlsdio.c index 59cc536..8408010 100644 --- a/src/tls/s6tls_prep_tlsdio.c +++ b/src/tls/s6tls_prep_tlsdio.c @@ -25,8 +25,8 @@ void s6tls_prep_tlsdio (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 & 8 ? "-J" : "-j" ; + if (options & 4) argv[m++] = "-S" ; + if (options & 8) argv[m++] = "-J" ; if (options & 1) argv[m++] = options & 2 ? "-y" : "-Y" ; if (kimeout) |
