pgsql: Centralize ssl tests' check for whether we're using LibreSSL. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Centralize ssl tests' check for whether we're using LibreSSL.
Date
Msg-id E1uDQb5-000wbQ-2i@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Centralize ssl tests' check for whether we're using LibreSSL.

Right now there's only one caller, so that this is merely
an exercise in shoving code from one module to another,
but there will shortly be another one.  It seems better to
avoid having two copies of this highly-subject-to-change test.

Back-patch to v15, where we first introduced some tests that
don't work with LibreSSL.

Reported-by: Thomas Munro <thomas.munro@gmail.com>
Author: Tom Lane <tgl@sss.pgh.pa.us>
Reviewed-by: Daniel Gustafsson <daniel@yesql.se>
Discussion: https://postgr.es/m/CA+hUKG+fLqyweHqFSBcErueUVT0vDuSNWui-ySz3+d_APmq7dw@mail.gmail.com
Backpatch-through: 15

Branch
------
REL_16_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/27fbf7cb63911ee2bffdb3cca40cf14515203b07

Modified Files
--------------
src/test/ssl/t/001_ssltests.pl        |  6 ++----
src/test/ssl/t/SSL/Backend/OpenSSL.pm | 20 ++++++++++++++++++++
src/test/ssl/t/SSL/Server.pm          | 17 +++++++++++++++++
3 files changed, 39 insertions(+), 4 deletions(-)


pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: pgsql: doc: Put new options in consistent order on man pages
Next
From: Bruce Momjian
Date:
Subject: pgsql: doc PG 18 relnotes: fix missing parens for crc32c()