summaryrefslogtreecommitdiff
path: root/src/include/libpq
diff options
context:
space:
mode:
authorHeikki Linnakangas2017-05-05 07:01:44 +0000
committerHeikki Linnakangas2017-05-05 07:01:44 +0000
commite6e9c4da3a55450b120ad7e3d0be426255850914 (patch)
treed50b9aa7040ca4076571a49f8de441c5189138ff /src/include/libpq
parent344a113079888c9b9a81ffa3c3a7d95666347119 (diff)
Misc cleanup of SCRAM code.
* Remove is_scram_verifier() function. It was unused. * Fix sanitize_char() function, used in error messages on protocol violations, to print bytes >= 0x7F correctly. * Change spelling of scram_MockSalt() function to be more consistent with the surroundings. * Change a few more references to "server proof" to "server signature" that I missed in commit d981074c24.
Diffstat (limited to 'src/include/libpq')
-rw-r--r--src/include/libpq/scram.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/include/libpq/scram.h b/src/include/libpq/scram.h
index 060b8af69e3..14b48af12f4 100644
--- a/src/include/libpq/scram.h
+++ b/src/include/libpq/scram.h
@@ -28,7 +28,6 @@ extern int pg_be_scram_exchange(void *opaq, char *input, int inputlen,
/* Routines to handle and check SCRAM-SHA-256 verifier */
extern char *pg_be_scram_build_verifier(const char *password);
-extern bool is_scram_verifier(const char *verifier);
extern bool scram_verify_plain_password(const char *username,
const char *password, const char *verifier);