summaryrefslogtreecommitdiff
path: root/src/stls/stls_server_init_and_handshake.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stls/stls_server_init_and_handshake.c')
-rw-r--r--src/stls/stls_server_init_and_handshake.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/stls/stls_server_init_and_handshake.c b/src/stls/stls_server_init_and_handshake.c
index 5d9c25c..5dd5284 100644
--- a/src/stls/stls_server_init_and_handshake.c
+++ b/src/stls/stls_server_init_and_handshake.c
@@ -77,7 +77,9 @@ struct tls *stls_server_init_and_handshake (int const *fds, uint32_t preoptions)
if (tls_accept_fds(ctx, &cctx, fds[0], fds[1]) < 0)
diectx(97, ctx, "tls_accept_fds") ;
tls_free(ctx) ;
+ strerr_warni1x("before handshake") ;
if (tls_handshake(cctx) < 0)
diectx(97, cctx, "perform SSL handshake") ;
+ strerr_warni1x("after handshake") ;
return cctx ;
}