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/clock/s6-taiclock.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/clock/s6-taiclock.c') diff --git a/src/clock/s6-taiclock.c b/src/clock/s6-taiclock.c index d8d371f..bece37d 100644 --- a/src/clock/s6-taiclock.c +++ b/src/clock/s6-taiclock.c @@ -1,6 +1,7 @@ /* ISC license. */ #include +#include #include #include #include @@ -31,8 +32,8 @@ int tain_exchange (int s, ip46_t const *ip, uint16 port, tain_t *serversays, tai char query[N] = "ctai" ; char answer[N] ; ip46_t dummyip ; - int r ; - uint16 dummyport ; + ssize_t r ; + uint16_t dummyport ; tain_pack(query+4, &STAMP) ; random_string(query+20, N-20) ; /* cookie */ r = socket_sendnb46_g(s, query, N, ip, port, deadline) ; @@ -60,7 +61,7 @@ int main (int argc, char const *const *argv) ip46_t ipremote ; int sock ; int flagforce = 0 ; - uint16 portremote = 4014 ; + uint16_t portremote = 4014 ; PROG = "s6-taiclock" ; { -- cgit v1.3.1