aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/jsonfuncs.c
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2020-01-18 12:32:43 +0900
committerMichael Paquier <michael@paquier.xyz>2020-01-18 12:32:43 +0900
commit41aadeeb124ee5f8e7d154a16a74d53286882b74 (patch)
tree8dbfe26870fb812be2230e581269be88fd30f756 /src/backend/utils/adt/jsonfuncs.c
parent4b754d6c16e16cc1a1adf12ab0f48603069a0efd (diff)
downloadpostgresql-41aadeeb124ee5f8e7d154a16a74d53286882b74.tar.gz
postgresql-41aadeeb124ee5f8e7d154a16a74d53286882b74.zip
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
Diffstat (limited to 'src/backend/utils/adt/jsonfuncs.c')
0 files changed, 0 insertions, 0 deletions