From 0c41c33f0bbe16adc3be07fdc6b58ca2127f52eb Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Tue, 14 Nov 2023 22:52:42 +0100 Subject: [PATCH] Style fix --- src/tunnel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tunnel.c b/src/tunnel.c index f3dfc346..df7f5b47 100644 --- a/src/tunnel.c +++ b/src/tunnel.c @@ -1270,7 +1270,7 @@ int ssl_connect(struct tunnel *tunnel) // Set SNI for the session - const char *sni = tunnel->config->sni ? tunnel->config->sni : \ + const char *sni = tunnel->config->sni ? tunnel->config->sni : tunnel->config->gateway_host; if (SSL_set_tlsext_host_name(tunnel->ssl_handle, sni) != 1) log_warn("SSL_set_tlsext_host_name('%s'): %s\n",