Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BACKPORT 2.20][yugabyte#19733] ysql: Import 'Disable OpenSSL EVP dig…
…est padding in pgcrypto' Summary: Original commit: 6b137c5 / D29734 Import upstream PG commit 'Disable OpenSSL EVP digest padding in pgcrypto'. This is a prerequisite to upgrading OpenSSL to 3.0+. Original Commit: 11901cd9628bf4e3b26d9aba21e6287f2cde3a8a Original Description: ``` The PX layer in pgcrypto is handling digest padding on its own uniformly for all backend implementations. Starting with OpenSSL 3.0.0, DecryptUpdate doesn't flush the last block in case padding is enabled so explicitly disable it as we don't use it. This will be backpatched to all supported version once there is sufficient testing in the buildfarm of OpenSSL 3. Reviewed-by: Peter Eisentraut, Michael Paquier Discussion: https://postgr.es/m/FEF81714-D479-4512-839B-C769D2605F8A@yesql.se Backpatch-through: 9.6 ``` Upstream Commit Link: https://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=318df802355924015d4d8f21859bc0ef7a348970 Backport-through: 2.14 Jira: DB-8563 Test Plan: Jenkins Reviewers: jason Reviewed By: jason Subscribers: jason, rthallam, yql Tags: #jenkins-ready Differential Revision: https://phorge.dev.yugabyte.com/D29865
- Loading branch information