diff options
author | Michael Paquier <michael@paquier.xyz> | 2024-12-10 12:54:14 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2024-12-10 12:54:14 +0900 |
commit | 416d1bd66c2859b2a40d265b77299c1f1d5dfc5b (patch) | |
tree | 5687b9777efcca88dec24c1e7e6250c6e4c24e8c /src/tutorial/funcs.source | |
parent | a12b0f3a9dc08ed18711fdcd38763cb3f6bc9f69 (diff) | |
download | postgresql-416d1bd66c2859b2a40d265b77299c1f1d5dfc5b.tar.gz postgresql-416d1bd66c2859b2a40d265b77299c1f1d5dfc5b.zip |
Fix outdated comment of scram_build_secret()
This routine documented that "iterations" would use a default value if
set to 0 by the caller. However, the iteration should always be set by
the caller to a value strictly more than 0, as documented by an
assertion.
Oversight in b577743000cd, that has made the iteration count of SCRAM
configurable.
Author: Matheus Alcantara
Discussion: https://postgr.es/m/ac858943-4743-44cd-b4ad-08a0c10cbbc8@gmail.com
Backpatch-through: 16
Diffstat (limited to 'src/tutorial/funcs.source')
0 files changed, 0 insertions, 0 deletions