diff options
Diffstat (limited to 'src/include/libpq/scram.h')
-rw-r--r-- | src/include/libpq/scram.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/include/libpq/scram.h b/src/include/libpq/scram.h index 87e2d56301c..71fcb51c5a5 100644 --- a/src/include/libpq/scram.h +++ b/src/include/libpq/scram.h @@ -27,11 +27,11 @@ extern void *pg_be_scram_init(Port *port, const char *selected_mech, const char extern int pg_be_scram_exchange(void *opaq, const char *input, int inputlen, char **output, int *outputlen, char **logdetail); -/* Routines to handle and check SCRAM-SHA-256 verifier */ -extern char *pg_be_scram_build_verifier(const char *password); -extern bool parse_scram_verifier(const char *verifier, int *iterations, char **salt, +/* Routines to handle and check SCRAM-SHA-256 secret */ +extern char *pg_be_scram_build_secret(const char *password); +extern bool parse_scram_secret(const char *secret, int *iterations, char **salt, uint8 *stored_key, uint8 *server_key); extern bool scram_verify_plain_password(const char *username, - const char *password, const char *verifier); + const char *password, const char *secret); #endif /* PG_SCRAM_H */ |