summaryrefslogtreecommitdiffstats
path: root/src/Protocol/Authenticator.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-07-16 12:23:26 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-07-16 12:23:26 +0200
commitad247735fdd28f9dec6c8e86507bc7e75e50e448 (patch)
tree1cd5c5b630c114f743b1106f537af1bc5685166a /src/Protocol/Authenticator.cpp
parentUnified functions (diff)
downloadcuberite-ad247735fdd28f9dec6c8e86507bc7e75e50e448.tar
cuberite-ad247735fdd28f9dec6c8e86507bc7e75e50e448.tar.gz
cuberite-ad247735fdd28f9dec6c8e86507bc7e75e50e448.tar.bz2
cuberite-ad247735fdd28f9dec6c8e86507bc7e75e50e448.tar.lz
cuberite-ad247735fdd28f9dec6c8e86507bc7e75e50e448.tar.xz
cuberite-ad247735fdd28f9dec6c8e86507bc7e75e50e448.tar.zst
cuberite-ad247735fdd28f9dec6c8e86507bc7e75e50e448.zip
Diffstat (limited to '')
-rw-r--r--src/Protocol/Authenticator.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Protocol/Authenticator.cpp b/src/Protocol/Authenticator.cpp
index 28df0f882..001bc29cf 100644
--- a/src/Protocol/Authenticator.cpp
+++ b/src/Protocol/Authenticator.cpp
@@ -190,7 +190,7 @@ void cAuthenticator::Execute(void)
-bool cAuthenticator::ConnectSecurelyToAddress(const AString & a_CACerts, const AString & a_ExpectedPeerName, const AString & a_Data, AString & a_Response)
+bool cAuthenticator::SecureGetFromAddress(const AString & a_CACerts, const AString & a_ExpectedPeerName, const AString & a_Data, AString & a_Response)
{
// Connect the socket:
cBlockingSslClientSocket Socket;
@@ -263,7 +263,7 @@ bool cAuthenticator::AuthWithYggdrasil(AString & a_UserName, const AString & a_S
Request += "\r\n";
AString Response;
- if (!ConnectSecurelyToAddress(gStarfieldCACert, m_Server, Request, Response))
+ if (!SecureGetFromAddress(gStarfieldCACert, m_Server, Request, Response))
{
return false;
}