pgsql: Support disallowing SSL renegotiation when using LibreSSL

From: Daniel Gustafsson <dgustafsson(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Support disallowing SSL renegotiation when using LibreSSL
Date: 2024-04-24 09:01:19
Message-ID: E1rzYVD-003dIL-3a@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Support disallowing SSL renegotiation when using LibreSSL

LibreSSL doesn't support the SSL_OP_NO_RENEGOTIATION macro which is
used by OpenSSL, instead it has invented a similar one for client-
side renegotiation: SSL_OP_NO_CLIENT_RENEGOTIATION. This has been
supported since LibreSSL 2.5.1 which by now can be considered well
below the minimum requirement.

Reviewed-by: Peter Eisentraut <peter(at)eisentraut(dot)org>
Reviewed-by: Michael Paquier <michael(at)paquier(dot)xyz>
Discussion: https://postgr.es/m/eac70d46-e61c-4d71-a1e1-78e2bfa19485@eisentraut.org

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/44e27f0a6d07d194ee43e9e4095db75c0525112f

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

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2024-04-24 09:19:12 pgsql: pg_combinebackup: Put newer options in consistent order in --hel
Previous Message Peter Eisentraut 2024-04-24 08:07:00 pgsql: pg_dump: Put new options in consistent order in --help and man p