diff options
Diffstat (limited to 'src/Bindings/LuaTCPLink.cpp')
-rw-r--r-- | src/Bindings/LuaTCPLink.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Bindings/LuaTCPLink.cpp b/src/Bindings/LuaTCPLink.cpp index 498691806..1e8f99410 100644 --- a/src/Bindings/LuaTCPLink.cpp +++ b/src/Bindings/LuaTCPLink.cpp @@ -192,7 +192,9 @@ AString cLuaTCPLink::StartTLSClient( return fmt::format(FMT_STRING("Cannot parse client private key: -0x{:x}"), -res); } } - return link->StartTLSClient(ownCert, ownPrivKey); + + // TODO : Provide a way to pass SNI from Lua too. + return link->StartTLSClient(ownCert, ownPrivKey, ""); } return ""; } |