(mu_check_mysql_scrambled_password): Use get_salt_from_scrambled.
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -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]); | ... | ... |
-
Please register or sign in to post a comment