summaryrefslogtreecommitdiff
path: root/src/login
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-07-27 15:00:44 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-07-27 15:00:44 +0000
commit91ccdfaf9f5b8d72ef90f9a71bf1a6f7b8d09540 (patch)
tree47856406b6f45a6e59bb394208e9634b56aa6f7e /src/login
parent8fa3432256e4bb97714088b6a1fd41d365653809 (diff)
downloadhercules-91ccdfaf9f5b8d72ef90f9a71bf1a6f7b8d09540.tar.gz
hercules-91ccdfaf9f5b8d72ef90f9a71bf1a6f7b8d09540.tar.bz2
hercules-91ccdfaf9f5b8d72ef90f9a71bf1a6f7b8d09540.tar.xz
hercules-91ccdfaf9f5b8d72ef90f9a71bf1a6f7b8d09540.zip
Fixed md5 passwords not working
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13007 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/login')
-rw-r--r--src/login/login.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/login/login.h b/src/login/login.h
index 8ffa06eec..7ec15464d 100644
--- a/src/login/login.h
+++ b/src/login/login.h
@@ -21,7 +21,7 @@ struct login_session_data {
char sex;
char userid[NAME_LENGTH];
- char passwd[NAME_LENGTH];
+ char passwd[32+1]; // 23+1 for plaintext, 32+1 for md5-ed passwords
int passwdenc;
char md5key[20];
uint16 md5keylen;