postgres.git / summary / log / commit / refs
commit 556cbdfce4ffe01410b89dbf01b27315aa201bbf
Author: Peter Eisentraut <peter@eisentraut.org>
Date: Sat Sep 05 09:32:20 2020 +0000
First released in: 14.0
Fix typo in comment
src/backend/libpq/auth-scram.c | 4 ++--
1 file 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");
[parent: 63110c6264a5]