diff options
| author | Laurent Bercot <ska-skaware@skarnet.org> | 2026-04-13 03:32:51 +0000 |
|---|---|---|
| committer | Laurent Bercot <ska-skaware@skarnet.org> | 2026-04-13 03:32:51 +0000 |
| commit | 030078b7bf67a4307623f1a5c58284561ff64a56 (patch) | |
| tree | 908d840523cf84fad55753a1dc16cee31a1a0d65 /src/tls/s6tls_prep_tlscio.c | |
| parent | c2ffcd960ba55570fb701de2b9f4e2ad6e1d628d (diff) | |
| download | s6-networking-030078b7bf67a4307623f1a5c58284561ff64a56.tar.gz | |
Implement --no-verify-cert for s6-tlsc and s6-tlsc-io
Diffstat (limited to 'src/tls/s6tls_prep_tlscio.c')
| -rw-r--r-- | src/tls/s6tls_prep_tlscio.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/tls/s6tls_prep_tlscio.c b/src/tls/s6tls_prep_tlscio.c index f56106f..d6b00fc 100644 --- a/src/tls/s6tls_prep_tlscio.c +++ b/src/tls/s6tls_prep_tlscio.c @@ -25,9 +25,10 @@ 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 ; } - if (options & 4) argv[m++] = "-S" ; + if (options & 1) argv[m++] = "-S" ; if (options & 2) argv[m++] = "-J" ; - if (options & 1) argv[m++] = "-y" ; + if (options & 4) argv[m++] = "-y" ; + if (options & 8) argv[m++] = "--no-verify-cert" ; if (kimeout) { argv[m++] = "-K" ; |
