From 334d807b924427434b42d4fbae745d3d1b38a218 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Tue, 10 Jan 2017 02:17:16 +0000 Subject: Types fix, first pass XXX marks what must change when skalibs changes. Also started writing functions for client certificate support in sbearssl, but it's not working yet (need more high-level support from BearSSL before it can work) --- src/conn-tools/s6-tlsd.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/conn-tools/s6-tlsd.c') diff --git a/src/conn-tools/s6-tlsd.c b/src/conn-tools/s6-tlsd.c index a4a1d4c..da90179 100644 --- a/src/conn-tools/s6-tlsd.c +++ b/src/conn-tools/s6-tlsd.c @@ -1,6 +1,7 @@ /* ISC license. */ #include +#include #include #include #include @@ -54,8 +55,8 @@ int main (int argc, char const *const *argv, char const *const *envp) { case 'S' : options &= ~(uint32_t)1 ; break ; case 's' : options |= 1 ; break ; - case 'Y' : preoptions &= ~(uint32_t)1 ; break ; - case 'y' : preoptions |= 1 ; break ; + case 'Y' : preoptions |= 1 ; preoptions &= ~(uint32_t)4 ; break ; + case 'y' : preoptions |= 5 ; break ; case 'v' : if (!uint0_scan(l.arg, &verbosity)) dieusage() ; break ; case 'K' : if (!uint0_scan(l.arg, &t)) dieusage() ; break ; case 'Z' : preoptions &= ~(uint32_t)2 ; break ; -- cgit v1.3.1