diff options
author | Daniel Gustafsson <dgustafsson@postgresql.org> | 2024-04-24 10:54:50 +0200 |
---|---|---|
committer | Daniel Gustafsson <dgustafsson@postgresql.org> | 2024-04-24 10:54:50 +0200 |
commit | d80f2ce294653ce633984445c971dfb534578464 (patch) | |
tree | b7ee1644218075faf9ddc19c2726aecda316870e /src/backend/tcop/postgres.c | |
parent | 44e27f0a6d07d194ee43e9e4095db75c0525112f (diff) | |
download | postgresql-d80f2ce294653ce633984445c971dfb534578464.tar.gz postgresql-d80f2ce294653ce633984445c971dfb534578464.zip |
Support SSL_R_VERSION_TOO_LOW when using LibreSSL
The SSL_R_VERSION_TOO_LOW error reason is supported in LibreSSL since
LibreSSL 3.6.3, shipped in OpenBSD 7.2. SSL_R_VERSION_TOO_HIGH is on
the other hand not supported in any version of LibreSSL. Previously
we only checked for SSL_R_VERSION_TOO_HIGH and then applied both under
that guard since OpenSSL has only ever supported both at the same time.
This breaks the check into one per reason to allow SSL_R_VERSION_TOO_LOW
to work when using LibreSSL.
Reviewed-by: Peter Eisentraut <peter@eisentraut.org>
Reviewed-by: Michael Paquier <michael@paquier.xyz>
Discussion: https://postgr.es/m/eac70d46-e61c-4d71-a1e1-78e2bfa19485@eisentraut.org
Diffstat (limited to 'src/backend/tcop/postgres.c')
0 files changed, 0 insertions, 0 deletions