From: | Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Misc cleanup of SCRAM code. |
Date: | 2017-05-05 07:14:52 |
Message-ID: | E1d6XS1-0005PK-09@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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.
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/e6e9c4da3a55450b120ad7e3d0be426255850914
Modified Files
--------------
src/backend/libpq/auth-scram.c | 30 ++++--------------------------
src/include/libpq/scram.h | 1 -
src/interfaces/libpq/fe-auth-scram.c | 4 ++--
3 files changed, 6 insertions(+), 29 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Heikki Linnakangas | 2017-05-05 07:14:53 | pgsql: Make SCRAM salts and nonces longer. |
Previous Message | Andres Freund | 2017-05-05 06:27:36 | Re: Change GetLastImportantRecPtr's definition? (wasSkip checkpoints, archiving on idle systems.) |