summaryrefslogtreecommitdiff
path: root/src/mongo/crypto/mechanism_scram.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/crypto/mechanism_scram.h')
-rw-r--r--src/mongo/crypto/mechanism_scram.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/crypto/mechanism_scram.h b/src/mongo/crypto/mechanism_scram.h
index 19d7e2b1c8b..5a2dc073a27 100644
--- a/src/mongo/crypto/mechanism_scram.h
+++ b/src/mongo/crypto/mechanism_scram.h
@@ -48,7 +48,7 @@ namespace scram {
/*
* Computes the SaltedPassword from password, salt and iterationCount.
*/
- void generateSaltedPassword(const StringData& hashedPassword,
+ void generateSaltedPassword(StringData hashedPassword,
const unsigned char* salt,
const int saltLen,
const int iterationCount,