Commit 556cbdfc authored by Peter Eisentraut's avatar Peter Eisentraut

Fix typo in comment

parent 63110c62
...@@ -1400,8 +1400,8 @@ scram_mock_salt(const char *username) ...@@ -1400,8 +1400,8 @@ scram_mock_salt(const char *username)
/* /*
* Generate salt using a SHA256 hash of the username and the cluster's * 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 * 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 * not larger than the SHA256 digest length. If the salt is smaller, the
* will just ignore the extra data.) * caller will just ignore the extra data.)
*/ */
StaticAssertStmt(PG_SHA256_DIGEST_LENGTH >= SCRAM_DEFAULT_SALT_LEN, StaticAssertStmt(PG_SHA256_DIGEST_LENGTH >= SCRAM_DEFAULT_SALT_LEN,
"salt length greater than SHA256 digest length"); "salt length greater than SHA256 digest length");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment