From: | Peter Eisentraut <peter(at)eisentraut(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: pgcrypto: Remove non-OpenSSL support |
Date: | 2021-11-05 13:09:55 |
Message-ID: | E1miyyh-0007VL-Ba@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
pgcrypto: Remove non-OpenSSL support
pgcrypto had internal implementations of some encryption algorithms,
as an alternative to calling out to OpenSSL. These were rarely used,
since most production installations are built with OpenSSL. Moreover,
maintaining parallel code paths makes the code more complex and
difficult to maintain.
This patch removes these internal implementations. Now, pgcrypto is
only built if OpenSSL support is configured.
Reviewed-by: Daniel Gustafsson <daniel(at)yesql(dot)se>
Discussion: https://www.postgresql.org/message-id/flat/0b42f1df-8cba-6a30-77d7-acc241cc88c1%40enterprisedb.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/db7d1a7b0530e8cbd045744e1c75b0e63fb6916f
Modified Files
--------------
contrib/Makefile | 5 +-
contrib/pgcrypto/Makefile | 73 +-
contrib/pgcrypto/blf.c | 499 -----
contrib/pgcrypto/blf.h | 46 -
contrib/pgcrypto/imath.c | 3588 -----------------------------------
contrib/pgcrypto/imath.h | 445 -----
contrib/pgcrypto/internal-sha2.c | 206 --
contrib/pgcrypto/internal.c | 585 ------
contrib/pgcrypto/pgp-mpi-internal.c | 304 ---
contrib/pgcrypto/rijndael.c | 677 -------
contrib/pgcrypto/rijndael.h | 59 -
contrib/pgcrypto/rijndael.tbl | 1138 -----------
doc/src/sgml/pgcrypto.sgml | 113 +-
src/tools/msvc/Mkvcbuild.pm | 39 +-
src/tools/msvc/vcregress.pl | 7 +-
15 files changed, 42 insertions(+), 7742 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Haas | 2021-11-05 13:33:40 | pgsql: amcheck: Add additional TOAST pointer checks. |
Previous Message | Alvaro Herrera | 2021-11-05 12:28:16 | Re: pgsql: Fix WAL replay in presence of an incomplete record |