diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2021-08-10 00:26:41 +0000 |
---|---|---|
committer | Laurent Bercot <ska@appnovation.com> | 2021-08-10 00:26:41 +0000 |
commit | fb68edd32df2e2d9b4e8eae813ce6c60d82b4204 (patch) | |
tree | 325aade56f0bc4578e1c7da190af629da1af242f /src/stls | |
parent | 260f1feffc8d48f1181929ce12a9f2cb65a2a5cb (diff) | |
download | s6-networking-fb68edd32df2e2d9b4e8eae813ce6c60d82b4204.tar.xz |
Adapt to skalibs-2.11.0.0
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/stls')
-rw-r--r-- | src/stls/stls-internal.h | 2 | ||||
-rw-r--r-- | src/stls/stls_client_init_and_handshake.c | 2 | ||||
-rw-r--r-- | src/stls/stls_handshake.c | 2 | ||||
-rw-r--r-- | src/stls/stls_server_init_and_handshake.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/src/stls/stls-internal.h b/src/stls/stls-internal.h index ef004ea..dcf0f56 100644 --- a/src/stls/stls-internal.h +++ b/src/stls/stls-internal.h @@ -8,6 +8,6 @@ #include <skalibs/tai.h> extern void stls_drop (void) ; -extern void stls_handshake (struct tls *, tain_t const *) ; +extern void stls_handshake (struct tls *, tain const *) ; #endif diff --git a/src/stls/stls_client_init_and_handshake.c b/src/stls/stls_client_init_and_handshake.c index 7e0bc13..c8fc587 100644 --- a/src/stls/stls_client_init_and_handshake.c +++ b/src/stls/stls_client_init_and_handshake.c @@ -12,7 +12,7 @@ #define diecfg(cfg, s) strerr_diefu3x(96, (s), ": ", tls_config_error(cfg)) #define diectx(e, ctx, s) strerr_diefu3x(e, (s), ": ", tls_error(ctx)) -struct tls *stls_client_init_and_handshake (int const *fds, tain_t const *tto, uint32_t preoptions, char const *servername) +struct tls *stls_client_init_and_handshake (int const *fds, tain const *tto, uint32_t preoptions, char const *servername) { struct tls *ctx ; struct tls_config *cfg ; diff --git a/src/stls/stls_handshake.c b/src/stls/stls_handshake.c index 989a167..5e965b1 100644 --- a/src/stls/stls_handshake.c +++ b/src/stls/stls_handshake.c @@ -17,7 +17,7 @@ static void alrm_handler (int sig) strerr_dief1x(98, "handshake timed out") ; } -void stls_handshake (struct tls *ctx, tain_t const *tto) +void stls_handshake (struct tls *ctx, tain const *tto) { struct sigaction saold ; struct sigaction sanew = { .sa_handler = &alrm_handler, .sa_flags = SA_RESTART, .sa_sigaction = 0 } ; diff --git a/src/stls/stls_server_init_and_handshake.c b/src/stls/stls_server_init_and_handshake.c index f2613db..6830801 100644 --- a/src/stls/stls_server_init_and_handshake.c +++ b/src/stls/stls_server_init_and_handshake.c @@ -14,7 +14,7 @@ #define diecfg(cfg, s) strerr_diefu3x(96, (s), ": ", tls_config_error(cfg)) #define diectx(e, ctx, s) strerr_diefu3x(e, (s), ": ", tls_error(ctx)) -struct tls *stls_server_init_and_handshake (int const *fds, tain_t const *tto, uint32_t preoptions) +struct tls *stls_server_init_and_handshake (int const *fds, tain const *tto, uint32_t preoptions) { struct tls *ctx = 0 ; struct tls *sctx ; |