summaryrefslogtreecommitdiff
path: root/src/net/manaserv/loginhandler.h
diff options
context:
space:
mode:
authorStefan Beller <stefanbeller@googlemail.com>2011-08-06 03:25:31 +0200
committerStefan Beller <stefanbeller@googlemail.com>2011-08-10 21:32:50 +0200
commit5c5e17c0b200004c6d18a51e2c02fd21d710f04f (patch)
tree677f019f2d7c84abb51007e8860b8ee95d0b6913 /src/net/manaserv/loginhandler.h
parent7342860e6c7b8d817410d886c7b89ff36e5c26f7 (diff)
downloadmana-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.h4
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;
};