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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/scram-common.c b/src/common/scram-common.c
index 461d75db125..e43d035d4da 100644
--- a/src/common/scram-common.c
+++ b/src/common/scram-common.c
@@ -221,7 +221,7 @@ scram_build_verifier(const char *salt, int saltlen, int iterations,
maxlen = strlen("SCRAM-SHA-256") + 1
+ 10 + 1 /* iteration count */
+ pg_b64_enc_len(saltlen) + 1 /* Base64-encoded salt */
- + pg_b64_enc_len(SCRAM_KEY_LEN) + 1 /* Base64-encoded StoredKey */
+ + pg_b64_enc_len(SCRAM_KEY_LEN) + 1 /* Base64-encoded StoredKey */
+ pg_b64_enc_len(SCRAM_KEY_LEN) + 1; /* Base64-encoded ServerKey */
#ifdef FRONTEND