aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2020-09-05 11:32:20 +0200
committerPeter Eisentraut <peter@eisentraut.org>2020-09-05 11:32:20 +0200
commit556cbdfce4ffe01410b89dbf01b27315aa201bbf (patch)
tree4a144f027596b53d0222f9aaa2afa1d12617435d
parent63110c6264a5363863209c8fbdd0498c03535507 (diff)
downloadpostgresql-556cbdfce4ffe01410b89dbf01b27315aa201bbf.tar.gz
postgresql-556cbdfce4ffe01410b89dbf01b27315aa201bbf.zip
Fix typo in comment
-rw-r--r--src/backend/libpq/auth-scram.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/libpq/auth-scram.c b/src/backend/libpq/auth-scram.c
index 5214d328656..0f79b28bb5a 100644
--- a/src/backend/libpq/auth-scram.c
+++ b/src/backend/libpq/auth-scram.c
@@ -1400,8 +1400,8 @@ scram_mock_salt(const char *username)
/*
* Generate salt using a SHA256 hash of the username and the cluster's
* mock authentication nonce. (This works as long as the salt length is
- * not larger the SHA256 digest length. If the salt is smaller, the caller
- * will just ignore the extra data.)
+ * not larger than the SHA256 digest length. If the salt is smaller, the
+ * caller will just ignore the extra data.)
*/
StaticAssertStmt(PG_SHA256_DIGEST_LENGTH >= SCRAM_DEFAULT_SALT_LEN,
"salt length greater than SHA256 digest length");