From 86eea78694ce0d95e74cc82cc29c096d66a9accd Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Thu, 14 Feb 2019 20:44:47 +0100 Subject: Get rid of another unconstify through API changes This also makes the code in read_client_first_message() more similar to read_client_final_message(). Reported-by: Mark Dilger Discussion: https://www.postgresql.org/message-id/flat/53a28052-f9f3-1808-fed9-460fd43035ab%402ndquadrant.com --- src/include/libpq/scram.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/include/libpq/scram.h') diff --git a/src/include/libpq/scram.h b/src/include/libpq/scram.h index 8eeb8807e91..d7f4c094c9d 100644 --- a/src/include/libpq/scram.h +++ b/src/include/libpq/scram.h @@ -24,7 +24,7 @@ /* Routines dedicated to authentication */ extern void pg_be_scram_get_mechanisms(Port *port, StringInfo buf); extern void *pg_be_scram_init(Port *port, const char *selected_mech, const char *shadow_pass); -extern int pg_be_scram_exchange(void *opaq, char *input, int inputlen, +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 */ -- cgit v1.2.3