From c2e0344110c01eef33697c9611c5689e8eee0691 Mon Sep 17 00:00:00 2001 From: Mattes D Date: Tue, 9 May 2023 11:29:35 +0200 Subject: cTCPLink: Use the original connection hostname for SNI. --- src/Bindings/LuaTCPLink.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/Bindings') diff --git a/src/Bindings/LuaTCPLink.cpp b/src/Bindings/LuaTCPLink.cpp index 1e8f99410..14ea5c905 100644 --- a/src/Bindings/LuaTCPLink.cpp +++ b/src/Bindings/LuaTCPLink.cpp @@ -193,8 +193,7 @@ AString cLuaTCPLink::StartTLSClient( } } - // TODO : Provide a way to pass SNI from Lua too. - return link->StartTLSClient(ownCert, ownPrivKey, ""); + return link->StartTLSClient(ownCert, ownPrivKey); } return ""; } -- cgit v1.2.3