From e6e9c4da3a55450b120ad7e3d0be426255850914 Mon Sep 17 00:00:00 2001 From: Heikki Linnakangas Date: Fri, 5 May 2017 10:01:44 +0300 Subject: 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. --- src/include/libpq/scram.h | 1 - 1 file changed, 1 deletion(-) (limited to 'src/include/libpq') 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); -- cgit v1.2.3