pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Daniel Gustafsson <dgustafsson@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Support SSL_R_VERSION_TOO_LOW when using LibreSSL
Date: Wed, 24 Apr 2024 09:01:19 +0000
Message-ID: <E1rzYVD-003dIO-45@gemulon.postgresql.org> (raw)

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

Branch
------
master

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

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



view thread (7+ messages)

Message-ID: <E1rzYVD-003dIO-45@gemulon.postgresql.org>
Permalink:  ../E1rzYVD-003dIO-45@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1rzYVD-003dIO-45@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: dgustafsson@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Support SSL_R_VERSION_TOO_LOW when using LibreSSL
  In-Reply-To: <E1rzYVD-003dIO-45@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox