summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changelog-Trunk.txt1
-rw-r--r--src/login/login.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt
index 70251b7ba..db1b19020 100644
--- a/Changelog-Trunk.txt
+++ b/Changelog-Trunk.txt
@@ -4,6 +4,7 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
2008/07/27
+ * Fixed md5 passwords not working
* Possibly corrected a guild saving problem (bugreport:1908)
* Removed some leftover code that shouldn't have been merged [ultramage]
* Fixed a memory leak in mmo_auth_tosql (extra sql statement being allocated).
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;