diff options
author | Stefan Beller <stefanbeller@googlemail.com> | 2011-08-06 03:25:31 +0200 |
---|---|---|
committer | Stefan Beller <stefanbeller@googlemail.com> | 2011-08-10 21:32:50 +0200 |
commit | 5c5e17c0b200004c6d18a51e2c02fd21d710f04f (patch) | |
tree | 677f019f2d7c84abb51007e8860b8ee95d0b6913 /src/net/manaserv/loginhandler.h | |
parent | 7342860e6c7b8d817410d886c7b89ff36e5c26f7 (diff) | |
download | mana-5c5e17c0b200004c6d18a51e2c02fd21d710f04f.tar.gz mana-5c5e17c0b200004c6d18a51e2c02fd21d710f04f.tar.bz2 mana-5c5e17c0b200004c6d18a51e2c02fd21d710f04f.tar.xz mana-5c5e17c0b200004c6d18a51e2c02fd21d710f04f.zip |
Client logs in with salted password now.
The password is salted by a random number sent by server.
Reviewed by Bertram.
Diffstat (limited to 'src/net/manaserv/loginhandler.h')
-rw-r--r-- | src/net/manaserv/loginhandler.h | 4 |
1 files changed, 4 insertions, 0 deletions
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; }; |