0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00
This commit is contained in:
Dwight 2009-02-10 12:35:30 -05:00
parent a52fc9a5a9
commit c8fb50b3f1

View File

@ -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);
}