projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0a4c3e
)
Fix incorrect format placeholder
author
Peter Eisentraut
<
[email protected]
>
Tue, 8 Apr 2025 17:12:03 +0000
(19:12 +0200)
committer
Peter Eisentraut
<
[email protected]
>
Tue, 8 Apr 2025 17:12:03 +0000
(19:12 +0200)
for commit
749a9e20c97
contrib/pgcrypto/crypt-gensalt.c
patch
|
blob
|
blame
|
history
diff --git
a/contrib/pgcrypto/crypt-gensalt.c
b/contrib/pgcrypto/crypt-gensalt.c
index ef68ae0e49e52736dc6d19d210177b2225e65997..7149dce02d5fe4268e188b0e2b742af3ab4d935a 100644
(file)
--- a/
contrib/pgcrypto/crypt-gensalt.c
+++ b/
contrib/pgcrypto/crypt-gensalt.c
@@
-214,7
+214,7
@@
_crypt_gensalt_sha(unsigned long count,
/* Skip magic bytes, set by callers */
s_ptr += 3;
- if ((rc = pg_snprintf(s_ptr, 18, "rounds=%l
d
$", count)) <= 0)
+ if ((rc = pg_snprintf(s_ptr, 18, "rounds=%l
u
$", count)) <= 0)
ereport(ERROR,
errcode(ERRCODE_INTERNAL_ERROR),
errmsg("cannot format salt string"));