pgsql: Fix check for conflicting SSL min/max protocol settings

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix check for conflicting SSL min/max protocol settings
Date: 2020-04-29 23:14:22
Message-ID: E1jTvuI-00054Z-8X@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix check for conflicting SSL min/max protocol settings

Commit 79dfa8a has introduced a check to catch when the minimum protocol
version was set higher than the maximum version, however an error was
getting generated when both bounds are set even if they are able to
work, causing a backend to not use a new SSL context but keep the old
one.

Author: Daniel Gustafsson
Discussion: https://postgr.es/m/14BFD060-8C9D-43B4-897D-D5D9AA6FC92B@yesql.se

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/e30b0b5cfaeb4f1f739f82c34c5ae2773852a088

Modified Files
--------------
src/backend/libpq/be-secure-openssl.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Geoghegan 2020-04-30 01:18:12 pgsql: Remove redundant _bt_killitems() buffer check.
Previous Message Alvaro Herrera 2020-04-29 22:47:32 pgsql: Fix checkpoint signalling