From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Move OpenSSL routines for min/max protocol setting to src/common
Date: Fri, 17 Jan 2020 01:08:36 +0000
Message-ID: <E1isG7o-0007kf-AA@gemulon.postgresql.org> (raw)
Move OpenSSL routines for min/max protocol setting to src/common/
Two routines have been added in OpenSSL 1.1.0 to set the protocol bounds
allowed within a given SSL context:
- SSL_CTX_set_min_proto_version
- SSL_CTX_set_max_proto_version
As Postgres supports OpenSSL down to 1.0.1 (as of HEAD), equivalent
replacements exist in the tree, which are only available for the
backend. A follow-up patch is planned to add control of the SSL
protocol bounds for libpq, so move those routines to src/common/ so as
libpq can use them.
Author: Daniel Gustafsson
Discussion: https://postgr.es/m/4F246AE3-A7AE-471E-BD3D-C799D3748E03@yesql.se
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/f7cd5896a69621818189fbdd209fb2e1fc008102
Modified Files
--------------
src/backend/libpq/be-secure-openssl.c | 99 +---------------------------
src/common/Makefile | 4 +-
src/common/protocol_openssl.c | 117 ++++++++++++++++++++++++++++++++++
src/include/common/openssl.h | 28 ++++++++
src/tools/msvc/Mkvcbuild.pm | 1 +
5 files changed, 150 insertions(+), 99 deletions(-)
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: michael@paquier.xyz
Subject: Re: pgsql: Move OpenSSL routines for min/max protocol setting to src/common
In-Reply-To: <E1isG7o-0007kf-AA@gemulon.postgresql.org>
References: <E1isG7o-0007kf-AA@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