summaryrefslogtreecommitdiff
path: root/src/stls
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2023-11-05 09:28:47 +0000
committerLaurent Bercot <ska@appnovation.com>2023-11-05 09:28:47 +0000
commit80bf12f9d36f7feed01d0ca8b03dcdb814e48c1a (patch)
tree2544d3f80be8efa72209a3c40c3550b60a32c0f6 /src/stls
parent6342cffb3485d64340563b9e86d54a667b7148ce (diff)
downloads6-networking-80bf12f9d36f7feed01d0ca8b03dcdb814e48c1a.tar.xz
Fix tls_error invocation
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/stls')
-rw-r--r--src/stls/stls_server_init_and_handshake.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stls/stls_server_init_and_handshake.c b/src/stls/stls_server_init_and_handshake.c
index 8098036..2304598 100644
--- a/src/stls/stls_server_init_and_handshake.c
+++ b/src/stls/stls_server_init_and_handshake.c
@@ -107,7 +107,7 @@ struct tls *stls_server_init_and_handshake (int const *fds, tain const *tto, uin
sctx = tls_server() ;
if (!sctx) strerr_diefu1sys(111, "tls_server") ;
- if (tls_configure(sctx, cfg) < 0) diectx(97, ctx, "tls_configure") ;
+ if (tls_configure(sctx, cfg) < 0) diectx(97, sctx, "tls_configure") ;
tls_config_free(cfg) ;
if (tls_accept_fds(sctx, &ctx, fds[0], fds[1]) < 0)
diectx(97, sctx, "tls_accept_fds") ;