summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2015-02-12 20:22:39 +0100
committerMattes D <github@xoft.cz>2015-02-12 20:22:39 +0100
commit505dce1fc38def5d28f8f71fa060a2bc76dd40b4 (patch)
treedef0368a70df1dd7e421c72119d929fce0b8d850
parentLuaAPI: Added client TLS support for TCP links. (diff)
downloadcuberite-505dce1fc38def5d28f8f71fa060a2bc76dd40b4.tar
cuberite-505dce1fc38def5d28f8f71fa060a2bc76dd40b4.tar.gz
cuberite-505dce1fc38def5d28f8f71fa060a2bc76dd40b4.tar.bz2
cuberite-505dce1fc38def5d28f8f71fa060a2bc76dd40b4.tar.lz
cuberite-505dce1fc38def5d28f8f71fa060a2bc76dd40b4.tar.xz
cuberite-505dce1fc38def5d28f8f71fa060a2bc76dd40b4.tar.zst
cuberite-505dce1fc38def5d28f8f71fa060a2bc76dd40b4.zip
-rw-r--r--src/Bindings/LuaTCPLink.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Bindings/LuaTCPLink.cpp b/src/Bindings/LuaTCPLink.cpp
index 7e2c10e13..c533456ad 100644
--- a/src/Bindings/LuaTCPLink.cpp
+++ b/src/Bindings/LuaTCPLink.cpp
@@ -206,7 +206,7 @@ AString cLuaTCPLink::StartTLSClient(
}
// Create the SSL context:
- m_SslContext = std::make_unique<cLinkSslContext>(*this);
+ m_SslContext.reset(new cLinkSslContext(*this));
m_SslContext->Initialize(true);
// Create the peer cert, if required: