From: Nick Porter Date: Mon, 13 Jan 2025 17:38:58 +0000 (+0000) Subject: If a client has a TLS config, use that in preference to the listener one X-Git-Tag: release_3_2_7~28 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b321f7357c60c6fb763b618895f1f492df8c9016;p=thirdparty%2Ffreeradius-server.git If a client has a TLS config, use that in preference to the listener one --- diff --git a/src/main/listen.c b/src/main/listen.c index 3ea74ce8dc..b817248d71 100644 --- a/src/main/listen.c +++ b/src/main/listen.c @@ -1269,6 +1269,7 @@ static int dual_tcp_accept(rad_listen_t *listener) this->recv = dual_tcp_recv; #ifdef WITH_TLS + if (client->tls) this->tls = client->tls; if (this->tls) { this->recv = dual_tls_recv; this->send = dual_tls_send;