mirror of
https://github.com/postgres/postgres.git
synced 2025-11-03 09:13:20 +03:00
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.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user