aboutsummaryrefslogtreecommitdiffstats
path: root/src/stls/stls_client_init_and_handshake.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stls/stls_client_init_and_handshake.c')
-rw-r--r--src/stls/stls_client_init_and_handshake.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/stls/stls_client_init_and_handshake.c b/src/stls/stls_client_init_and_handshake.c
index 50898ea..173942f 100644
--- a/src/stls/stls_client_init_and_handshake.c
+++ b/src/stls/stls_client_init_and_handshake.c
@@ -75,6 +75,8 @@ struct tls *stls_client_init_and_handshake (int const *fds, uint32_t preoptions,
if (tls_connect_fds(ctx, fds[0], fds[1], servername) < 0)
diectx(97, ctx, "tls_connect_fds") ;
tls_config_free(cfg) ;
+ strerr_warn1x("before handshake") ;
if (tls_handshake(ctx) < 0) diectx(97, ctx, "perform SSL handshake") ;
+ strerr_warn1x("after handshake") ;
return ctx ;
}