projects
/
users
/
rhaas
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63110c6
)
Fix typo in comment
author
Peter Eisentraut
<peter@eisentraut.org>
Sat, 5 Sep 2020 09:32:20 +0000
(11:32 +0200)
committer
Peter Eisentraut
<peter@eisentraut.org>
Sat, 5 Sep 2020 09:32:20 +0000
(11:32 +0200)
src/backend/libpq/auth-scram.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/libpq/auth-scram.c
b/src/backend/libpq/auth-scram.c
index 5214d328656f54b7c9a5a56ea849b621c6decabc..0f79b28bb5ab3e97f9b9bdb2a4ebb8eed9a6b316 100644
(file)
--- 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 th
e SHA256 digest length. If the salt is smaller, the caller
- * will just ignore the extra data.)
+ * not larger th
an 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");