From: | Michael Paquier <michael(at)paquier(dot)xyz> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Fix outdated comment of scram_build_secret() |
Date: | 2024-12-10 03:55:05 |
Message-ID: | [email protected] |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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/[email protected]
Backpatch-through: 16
Branch
------
REL_17_STABLE
Modified Files
--------------
src/common/scram-common.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Paquier | 2024-12-10 04:02:46 | pgsql: Fix comments of GUC hooks for timezone_abbreviations |
Previous Message | Nathan Bossart | 2024-12-09 22:26:39 | pgsql: Fix unused-but-set-variable compiler warning in reorderbuffer.c. |