]> granicus.if.org Git - postgresql/commit
Remove bogus SCRAM_ITERATION_LEN constant.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Thu, 6 Apr 2017 14:41:48 +0000 (17:41 +0300)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Thu, 6 Apr 2017 14:41:48 +0000 (17:41 +0300)
commit07044efe00762bdd04c4d392adb8f6425b13369b
treed85c1fc6cac5d3b28c976668b29554c01bdbd343
parentcd0cebaf7d1ab04427d4045edf7121a8f3753d8b
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.
src/backend/libpq/auth-scram.c
src/include/common/scram-common.h
src/interfaces/libpq/fe-auth-scram.c