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

Lines changed: 2 additions & 2 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy