diff options
author | kostja@oak.local <> | 2003-07-18 18:25:54 +0400 |
---|---|---|
committer | kostja@oak.local <> | 2003-07-18 18:25:54 +0400 |
commit | 09e53b016967a84126dc50474a54010712893bf1 (patch) | |
tree | ff6daa4950597380db94c038c04c9a8067bbfd68 /sql/sql_crypt.cc | |
parent | d90129d1e9ffda725173047a8195902185208ce4 (diff) | |
download | mariadb-git-09e53b016967a84126dc50474a54010712893bf1.tar.gz |
Style fixes, comments for 4.1.1 authorization
Now special 1-byte packet is used for request of old password
Fixed bug with --skip-grant-tables and acl_getroot
Diffstat (limited to 'sql/sql_crypt.cc')
-rw-r--r-- | sql/sql_crypt.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_crypt.cc b/sql/sql_crypt.cc index 930ecfffef7..b0b8050e311 100644 --- a/sql/sql_crypt.cc +++ b/sql/sql_crypt.cc @@ -32,7 +32,7 @@ SQL_CRYPT::SQL_CRYPT(const char *password) { ulong rand_nr[2]; - hash_password(rand_nr,password); + hash_password(rand_nr,password, strlen(password)); crypt_init(rand_nr); } |