Commit 9e1291d9 9e1291d9bafa23909cfb7d241dd0b148e6216608 by Sergey Poznyakoff

(mu_check_mysql_scrambled_password): Use get_salt_from_scrambled.

1 parent ad938942
...@@ -319,7 +319,7 @@ mu_check_mysql_scrambled_password (const char *scrambled, const char *message) ...@@ -319,7 +319,7 @@ mu_check_mysql_scrambled_password (const char *scrambled, const char *message)
319 scrambled = buf; 319 scrambled = buf;
320 } 320 }
321 321
322 get_salt_from_password (hash_pass, scrambled); 322 get_salt_from_scrambled (hash_pass, scrambled);
323 scramble_password (hash_message, message); 323 scramble_password (hash_message, message);
324 return !(hash_message[0] == hash_pass[0] 324 return !(hash_message[0] == hash_pass[0]
325 && hash_message[1] == hash_pass[1]); 325 && hash_message[1] == hash_pass[1]);
......