From 87d772a7d708fec12f48cd8adc0dedff6e1025da Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 26 Aug 2024 10:15:20 +0200 Subject: Adding upstream version 1.47.0. Signed-off-by: Daniel Baumann --- src/aclk/https_client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/aclk/https_client.c') diff --git a/src/aclk/https_client.c b/src/aclk/https_client.c index 2bc768f2..8c44f13e 100644 --- a/src/aclk/https_client.c +++ b/src/aclk/https_client.c @@ -696,7 +696,7 @@ int https_request(https_req_t *request, https_req_response_t *response) { goto exit_CTX; } - if (!SSL_set_tlsext_host_name(ctx->ssl, connect_host)) { + if (!SSL_set_tlsext_host_name(ctx->ssl, request->host)) { netdata_log_error("Error setting TLS SNI host"); goto exit_CTX; } -- cgit v1.2.3