Skip to content

Commit 556cbdf

Browse files
committed
Fix typo in comment
1 parent 63110c6 commit 556cbdf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/libpq/auth-scram.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -1400,8 +1400,8 @@ scram_mock_salt(const char *username)
14001400
/*
14011401
* Generate salt using a SHA256 hash of the username and the cluster's
14021402
* mock authentication nonce. (This works as long as the salt length is
1403-
* not larger the SHA256 digest length. If the salt is smaller, the caller
1404-
* will just ignore the extra data.)
1403+
* not larger than the SHA256 digest length. If the salt is smaller, the
1404+
* caller will just ignore the extra data.)
14051405
*/
14061406
StaticAssertStmt(PG_SHA256_DIGEST_LENGTH >= SCRAM_DEFAULT_SALT_LEN,
14071407
"salt length greater than SHA256 digest length");

0 commit comments

Comments
 (0)