Adding more server side gsasl stuff. Client side now broken.

This commit is contained in:
lotodore
2009-10-18 20:53:58 +00:00
parent 3b245ee87b
commit 7ae35122b8
7 changed files with 107 additions and 21 deletions
+2 -2
View File
@@ -679,8 +679,8 @@ ClientStateStartSession::Enter(boost::shared_ptr<ClientThread> client)
// TODO
boost::shared_ptr<SessionData> tmpSession = context.GetSessionData();
tmpSession->CreateClientAuthSession(client->GetAuthContext(), context.GetPlayerName(), context.GetPassword());
string outUserData;
tmpSession->AuthStep(1, "", outUserData);
tmpSession->AuthStep(1, "");
string outUserData(tmpSession->AuthGetNextOutMsg());
OCTET_STRING_fromBuf(&authLogin->clientUserData,
outUserData.c_str(),
outUserData.length());