summaryrefslogtreecommitdiff
path: root/src/include/common
diff options
context:
space:
mode:
authorHeikki Linnakangas2017-04-06 14:41:48 +0000
committerHeikki Linnakangas2017-04-06 14:41:48 +0000
commit07044efe00762bdd04c4d392adb8f6425b13369b (patch)
treed85c1fc6cac5d3b28c976668b29554c01bdbd343 /src/include/common
parentcd0cebaf7d1ab04427d4045edf7121a8f3753d8b (diff)
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/common')
-rw-r--r--src/include/common/scram-common.h3
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