pgsql: Centralize ssl tests' check for whether we're using LibreSSL.

Поиск
Список
Период
Сортировка
Искать

pgsql: Centralize ssl tests' check for whether we're using LibreSSL.

От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
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 
Author: Tom Lane 
Reviewed-by: Daniel Gustafsson 
Discussion: https://postgr.es/m/CA+hUKG+fLqyweHqFSBcErueUVT0vDuSNWui-ySz3+d_APmq7dw@mail.gmail.com
Backpatch-through: 15

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/0aaf69965dbd92072911cc46e4b28b9a37c38fad

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

FAQ