mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
md5 bug
This commit is contained in:
parent
a52fc9a5a9
commit
c8fb50b3f1
@ -131,7 +131,7 @@ namespace mongo {
|
||||
md5_state_t st;
|
||||
md5_init(&st);
|
||||
md5_append(&st, (const md5_byte_t *) username, strlen(username));
|
||||
md5_append(&st, (const md5_byte_t *) ":mongo:", 5 );
|
||||
md5_append(&st, (const md5_byte_t *) ":mongo:", 7 );
|
||||
md5_append(&st, (const md5_byte_t *) clearTextPassword, strlen(clearTextPassword));
|
||||
md5_finish(&st, d);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user