summaryrefslogtreecommitdiff
path: root/src/stls
diff options
context:
space:
mode:
Diffstat (limited to 'src/stls')
-rw-r--r--src/stls/stls-internal.h2
-rw-r--r--src/stls/stls_client_init_and_handshake.c2
-rw-r--r--src/stls/stls_handshake.c2
-rw-r--r--src/stls/stls_server_init_and_handshake.c2
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 ;