From 8beaad001cc1baf8e59ea149ed52b2af5f17af3c Mon Sep 17 00:00:00 2001 From: "Alan T. DeKok" Date: Thu, 10 Nov 2022 16:56:36 +0000 Subject: [PATCH] set the host name to the actual host name --- src/main/listen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/listen.c b/src/main/listen.c index 07683429dd..e309d15276 100644 --- a/src/main/listen.c +++ b/src/main/listen.c @@ -3064,7 +3064,7 @@ rad_listen_t *proxy_new_listener(TALLOC_CTX *ctx, home_server_t *home, uint16_t * here through various C magic. */ if (home->tls->client_hostname) { - (void) SSL_set_tlsext_host_name(sock->ssn->ssl, (void *) (uintptr_t) "home->tls->client_hostname"); + (void) SSL_set_tlsext_host_name(sock->ssn->ssl, (void *) (uintptr_t) home->tls->client_hostname); } /* -- 2.47.3