Implemented 1.3.2 protocol encryption using CryptoPP, up to Client Status packet (http://wiki.vg/Protocol_FAQ step 14)
git-svn-id: http://mc-server.googlecode.com/svn/trunk@808 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
@@ -43,7 +43,6 @@ void cProtocolRecognizer::DataReceived(const char * a_Data, int a_Size)
|
||||
{
|
||||
return;
|
||||
}
|
||||
LOGD("ProtocolRecognizer at %p recognized protocol %p", this, m_Protocol);
|
||||
|
||||
// The protocol has just been recognized, dump the whole m_Buffer contents into it for parsing:
|
||||
AString Dump;
|
||||
@@ -491,7 +490,7 @@ bool cProtocolRecognizer::TryRecognizeProtocol(void)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
if (ch == 0x39)
|
||||
if (ch == 39)
|
||||
{
|
||||
m_Protocol = new cProtocol132(m_Client);
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user