pgsql: Remove bogus SCRAM_ITERATION_LEN constant.

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Remove bogus SCRAM_ITERATION_LEN constant.
Date: 2017-04-06 14:42:29
Message-ID: E1cw8cH-0002VZ-0r@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Remove bogus SCRAM_ITERATION_LEN constant.

It was not used for what the comment claimed, at all. It was actually used
as the 'base' argument to strtol(), when reading the iteration count. We
don't need a constant for base-10, so remove it.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/07044efe00762bdd04c4d392adb8f6425b13369b

Modified Files
--------------
src/backend/libpq/auth-scram.c | 2 +-
src/include/common/scram-common.h | 3 ---
src/interfaces/libpq/fe-auth-scram.c | 2 +-
3 files changed, 2 insertions(+), 5 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2017-04-06 15:18:19 pgsql: Fix compiler warning and add some more comments
Previous Message Simon Riggs 2017-04-06 14:32:24 pgsql: Always SnapshotResetXmin() during ClearTransaction()