postgresql/src/backend/utils
Michael Paquier 41aadeeb12 Add GUC checks for ssl_min_protocol_version and ssl_max_protocol_version
Mixing incorrect bounds set in the SSL context leads to confusing error
messages generated by OpenSSL which are hard to act on.  New checks are
added within the GUC machinery to improve the user experience as they
apply to any SSL implementation, not only OpenSSL, and doing the checks
beforehand avoids the creation of a SSL during a reload (or startup)
which we know will never be used anyway.

Backpatch down to 12, as those parameters have been introduced by
e73e67c.

Author: Michael Paquier
Reviewed-by: Daniel Gustafsson
Discussion: https://postgr.es/m/20200114035420.GE1515@paquier.xyz
Backpatch-through: 12
2020-01-18 12:32:43 +09:00
..
adt Avoid full scan of GIN indexes when possible 2020-01-18 01:11:39 +03:00
cache Update copyrights for 2020 2020-01-01 12:21:45 -05:00
error Update copyrights for 2020 2020-01-01 12:21:45 -05:00
fmgr Update copyrights for 2020 2020-01-01 12:21:45 -05:00
hash Update copyrights for 2020 2020-01-01 12:21:45 -05:00
init Update copyrights for 2020 2020-01-01 12:21:45 -05:00
mb Rationalize code placement between wchar.c, encnames.c, and mbutils.c. 2020-01-16 18:08:21 -05:00
misc Add GUC checks for ssl_min_protocol_version and ssl_max_protocol_version 2020-01-18 12:32:43 +09:00
mmgr Allocate freechunks bitmap as part of SlabContext 2020-01-17 15:29:11 +01:00
resowner Update copyrights for 2020 2020-01-01 12:21:45 -05:00
sort Update copyrights for 2020 2020-01-01 12:21:45 -05:00
time Update copyrights for 2020 2020-01-01 12:21:45 -05:00
.gitignore Rearrange makefile rules for running Gen_fmgrtab.pl. 2018-05-03 17:54:18 -04:00
errcodes.txt Update copyrights for 2020 2020-01-01 12:21:45 -05:00
Gen_dummy_probes.pl Update copyrights for 2020 2020-01-01 12:21:45 -05:00
Gen_dummy_probes.sed Update copyrights for 2020 2020-01-01 12:21:45 -05:00
Gen_fmgrtab.pl Update copyrights for 2020 2020-01-01 12:21:45 -05:00
generate-errcodes.pl Update copyrights for 2020 2020-01-01 12:21:45 -05:00
Makefile Update copyrights for 2020 2020-01-01 12:21:45 -05:00
probes.d Update copyrights for 2020 2020-01-01 12:21:45 -05:00