]> granicus.if.org Git - postgresql/commit
Check channel binding flag at end of SCRAM exchange
authorPeter Eisentraut <peter_e@gmx.net>
Wed, 22 Nov 2017 19:02:57 +0000 (14:02 -0500)
committerPeter Eisentraut <peter_e@gmx.net>
Fri, 1 Dec 2017 14:53:26 +0000 (09:53 -0500)
commit86ab28fbd19a6a0742a7f66e69a595b61eb13d00
tree782040f1c7f38de43e86373a40a9e1a0b511abe9
parent143b54d21d37804707c27edebdbd4410891da133
Check channel binding flag at end of SCRAM exchange

We need to check whether the channel-binding flag encoded in the
client-final-message is the same one sent in the client-first-message.

Reviewed-by: Michael Paquier <michael.paquier@gmail.com>
src/backend/libpq/auth-scram.c
src/interfaces/libpq/fe-auth-scram.c