]> git.ipfire.org Git - thirdparty/chrony.git/commit
tls: fix server log messages to have client IP address
authorMiroslav Lichvar <mlichvar@redhat.com>
Wed, 6 Aug 2025 13:43:41 +0000 (15:43 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Thu, 7 Aug 2025 08:18:31 +0000 (10:18 +0200)
commit93a78c73ada369d2b35e3b1692c19c915938c8e8
treecfe02ec40fe68faa0f3f9503fd060c487d178ecf
parentabc267a556cbae3172d6014e59c219a10145bda3
tls: fix server log messages to have client IP address

Add an additional parameter to TLS_CreateInstance() to save the label of
the connection (server name on the client side and client IP
address:port on the server side) instead of the server name (which is
NULL on the server side) to fix the log messages.

Fixes: 3e32e7e69412 ("tls: move gnutls code into tls_gnutls.c")
nts_ke_session.c
tls.h
tls_gnutls.c