mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
auto mere mysql-5.1-security->mysql-5.5-security
This commit is contained in:
@ -531,7 +531,7 @@ check_scramble(const uchar *scramble_arg, const char *message,
|
||||
mysql_sha1_reset(&sha1_context);
|
||||
mysql_sha1_input(&sha1_context, buf, SHA1_HASH_SIZE);
|
||||
mysql_sha1_result(&sha1_context, hash_stage2_reassured);
|
||||
return memcmp(hash_stage2, hash_stage2_reassured, SHA1_HASH_SIZE);
|
||||
return test(memcmp(hash_stage2, hash_stage2_reassured, SHA1_HASH_SIZE));
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user