aboutsummaryrefslogtreecommitdiff
path: root/src/include/libpq/scram.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/libpq/scram.h')
-rw-r--r--src/include/libpq/scram.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/libpq/scram.h b/src/include/libpq/scram.h
index d7f4c094c9d..bc297e2a336 100644
--- a/src/include/libpq/scram.h
+++ b/src/include/libpq/scram.h
@@ -29,6 +29,8 @@ extern int pg_be_scram_exchange(void *opaq, const 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 parse_scram_verifier(const char *verifier, 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);