pgsql: Disable OpenSSL EVP digest padding in pgcrypto

Поиск
Список
Период
Сортировка
От Daniel Gustafsson
Тема pgsql: Disable OpenSSL EVP digest padding in pgcrypto
Дата
Msg-id E1mDRjS-0007Ng-Cm@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Disable OpenSSL EVP digest padding in pgcrypto

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/318df802355924015d4d8f21859bc0ef7a348970

Modified Files
--------------
contrib/pgcrypto/openssl.c | 4 ++++
1 file changed, 4 insertions(+)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Masahiko Sawada
Дата:
Сообщение: Re: pgsql: pgstat: Bring up pgstat in BaseInit() to fix uninitialized use o
Следующее
От: noreply@postgresql.org
Дата:
Сообщение: pgsql: Tag refs/tags/REL_12_8 was created