]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Add alternative output for OpenSSL 3 without legacy loaded
authorDaniel Gustafsson <dgustafsson@postgresql.org>
Sat, 25 Sep 2021 09:27:28 +0000 (11:27 +0200)
committerDaniel Gustafsson <dgustafsson@postgresql.org>
Sat, 25 Sep 2021 09:27:28 +0000 (11:27 +0200)
commit7b6ce36fbab522ced3860fa43fcb587efda29ac8
tree92c0b652bf55177c4fec85308f0ee36bbabcf6e2
parent00c72da4a22d9883b1e511ff140bd47cc75d536d
Add alternative output for OpenSSL 3 without legacy loaded

OpenSSL 3 introduced the concept of providers to support modularization,
and moved the outdated ciphers to the new legacy provider. In case it's
not loaded in the users openssl.cnf file there will be a lot of regress
test failures, so add alternative outputs covering those.

Also document the need to load the legacy provider in order to use older
ciphers with OpenSSL-enabled pgcrypto.

This will be backpatched to all supported version once there is sufficient
testing in the buildfarm of OpenSSL 3.

Reviewed-by: Michael Paquier
Discussion: https://postgr.es/m/FEF81714-D479-4512-839B-C769D2605F8A@yesql.se
Backpatch-through: 9.6
contrib/pgcrypto/expected/blowfish_1.out [new file with mode: 0644]
contrib/pgcrypto/expected/cast5_1.out [new file with mode: 0644]
contrib/pgcrypto/expected/des_1.out [new file with mode: 0644]
contrib/pgcrypto/expected/pgp-decrypt_1.out [new file with mode: 0644]
contrib/pgcrypto/expected/pgp-pubkey-decrypt_1.out [new file with mode: 0644]
doc/src/sgml/pgcrypto.sgml