pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter_e@gmx.net>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Make detection of SSL_CTX_set_min_proto_version more portable
Date: Tue, 20 Nov 2018 22:02:12 +0000
Message-ID: <E1gPE60-000158-Fx@gemulon.postgresql.org> (raw)

Make detection of SSL_CTX_set_min_proto_version more portable

As already explained in configure.in, using the OpenSSL version number
to detect presence of functions doesn't work, because LibreSSL reports
incompatible version numbers.  Fortunately, the functions we need here
are actually macros, so we can just test for them directly.

Branch
------
master

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

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



view thread (2+ messages)  latest in thread

Message-ID: <E1gPE60-000158-Fx@gemulon.postgresql.org>
Permalink:  ../E1gPE60-000158-Fx@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1gPE60-000158-Fx@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 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: peter_e@gmx.net
  Subject: Re: pgsql: Make detection of SSL_CTX_set_min_proto_version more portable
  In-Reply-To: <E1gPE60-000158-Fx@gemulon.postgresql.org>
  References: <E1gPE60-000158-Fx@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