diff options
Diffstat (limited to 'client/dbclient.cpp')
-rw-r--r-- | client/dbclient.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/dbclient.cpp b/client/dbclient.cpp index a8f3383b9ec..1d5d5eb712a 100644 --- a/client/dbclient.cpp +++ b/client/dbclient.cpp @@ -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); } |