summaryrefslogtreecommitdiff
path: root/src/common/scram-common.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/scram-common.c')
-rw-r--r--src/common/scram-common.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/scram-common.c b/src/common/scram-common.c
index 77b54c8a5e7..295507a0adc 100644
--- a/src/common/scram-common.c
+++ b/src/common/scram-common.c
@@ -213,9 +213,10 @@ scram_build_verifier(const char *salt, int saltlen, int iterations,
scram_ServerKey(salted_password, server_key);
- /*
+ /*----------
* The format is:
* SCRAM-SHA-256$<iteration count>:<salt>$<StoredKey>:<ServerKey>
+ *----------
*/
maxlen = strlen("SCRAM-SHA-256") + 1
+ 10 + 1 /* iteration count */