diff options
author | Daniel Gustafsson <dgustafsson@postgresql.org> | 2022-03-26 22:00:39 +0100 |
---|---|---|
committer | Daniel Gustafsson <dgustafsson@postgresql.org> | 2022-03-26 22:00:39 +0100 |
commit | 4a7e964fc67a541b6ea1b72729ad3f8e632d003c (patch) | |
tree | d1907da1a974fbfb21e789c4edb69135e7075de7 /contrib/pageinspect/gistfuncs.c | |
parent | e07d4ddc55fdcf82082950b3eb0cd8f728284c9d (diff) | |
download | postgresql-4a7e964fc67a541b6ea1b72729ad3f8e632d003c.tar.gz postgresql-4a7e964fc67a541b6ea1b72729ad3f8e632d003c.zip |
SSL TAP test backend library independence refactoring
The SSL TAP tests were tightly coupled to the OpenSSL implementation,
making it hard to add support for additional SSL/TLS backends. This
refactoring makes the test avoid depending on specific implementations
The SSLServer Perl module is renamed SSL::Server, which in turn use
SSL::Backend::X where X is the backend pointed to by with_ssl. Each
backend will implement its own module responsible for setting up keys,
certs and to resolve sslkey values to their implementation specific
value (file paths or vault nicknames etc). Further, switch_server_cert
now takes a set of named parameters rather than a fixed set which used
defaults. The modules also come with POD documentation.
There are a few testcases which still use OpenSSL specifics, but it's
not entirely clear how to abstract those until we have another library
implemented.
Original patch by me, with lots of rework by Andrew Dunstan to turn it
into better Perl.
Discussion: https://postgr.es/m/AA18A362-CA65-4F9A-AF61-76AE318FE97C@yesql.se
Diffstat (limited to 'contrib/pageinspect/gistfuncs.c')
0 files changed, 0 insertions, 0 deletions