From 5c5e17c0b200004c6d18a51e2c02fd21d710f04f Mon Sep 17 00:00:00 2001 From: Stefan Beller Date: Sat, 6 Aug 2011 03:25:31 +0200 Subject: Client logs in with salted password now. The password is salted by a random number sent by server. Reviewed by Bertram. --- src/net/manaserv/loginhandler.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/net/manaserv/loginhandler.h') diff --git a/src/net/manaserv/loginhandler.h b/src/net/manaserv/loginhandler.h index 2062dcb5..294b99ac 100644 --- a/src/net/manaserv/loginhandler.h +++ b/src/net/manaserv/loginhandler.h @@ -77,12 +77,16 @@ class LoginHandler : public MessageHandler, public Net::LoginHandler void reconnect(); private: + void handleLoginRandomResponse(Net::MessageIn &msg); void handleLoginResponse(Net::MessageIn &msg); void handleRegisterResponse(Net::MessageIn &msg); void readServerInfo(Net::MessageIn &msg); + void loginAccountContinue(); + LoginData *mLoginData; + std::string mTmpPassword; unsigned int mMinUserNameLength; unsigned int mMaxUserNameLength; }; -- cgit v1.2.3-70-g09d2