diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2017-04-06 17:41:48 +0300 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2017-04-06 17:41:48 +0300 |
commit | 07044efe00762bdd04c4d392adb8f6425b13369b (patch) | |
tree | d85c1fc6cac5d3b28c976668b29554c01bdbd343 /src/include | |
parent | cd0cebaf7d1ab04427d4045edf7121a8f3753d8b (diff) | |
download | postgresql-07044efe00762bdd04c4d392adb8f6425b13369b.tar.gz postgresql-07044efe00762bdd04c4d392adb8f6425b13369b.zip |
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.
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/common/scram-common.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/include/common/scram-common.h b/src/include/common/scram-common.h index 7c98cc74d67..6740069eee1 100644 --- a/src/include/common/scram-common.h +++ b/src/include/common/scram-common.h @@ -31,9 +31,6 @@ /* length of salt when generating new verifiers */ #define SCRAM_SALT_LEN 10 -/* number of bytes used when sending iteration number during exchange */ -#define SCRAM_ITERATION_LEN 10 - /* default number of iterations when generating verifier */ #define SCRAM_ITERATIONS_DEFAULT 4096 |