mirror of
https://github.com/postgres/postgres.git
synced 2025-07-26 01:22:12 +03:00
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 <hornschnorter@gmail.com> Discussion: https://www.postgresql.org/message-id/flat/53a28052-f9f3-1808-fed9-460fd43035ab%402ndquadrant.com
This commit is contained in:
@ -985,7 +985,7 @@ CheckSCRAMAuth(Port *port, char *shadow_pass, char **logdetail)
|
||||
* we pass 'logdetail' as NULL when doing a mock authentication,
|
||||
* because we should already have a better error message in that case
|
||||
*/
|
||||
result = pg_be_scram_exchange(scram_opaq, unconstify(char *, input), inputlen,
|
||||
result = pg_be_scram_exchange(scram_opaq, input, inputlen,
|
||||
&output, &outputlen,
|
||||
logdetail);
|
||||
|
||||
|
Reference in New Issue
Block a user