pgcrypto: Remove non-OpenSSL support
authorPeter Eisentraut <peter@eisentraut.org>
Fri, 5 Nov 2021 12:59:42 +0000 (13:59 +0100)
committerPeter Eisentraut <peter@eisentraut.org>
Fri, 5 Nov 2021 13:06:59 +0000 (14:06 +0100)
commitdb7d1a7b0530e8cbd045744e1c75b0e63fb6916f
treea03045045b1bd83cabc6bd2994c156c93c5b65a7
parenta5b336b8b9e04a93e7c8526302504d2e5201eb80
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@yesql.se>
Discussion: https://www.postgresql.org/message-id/flat/0b42f1df-8cba-6a30-77d7-acc241cc88c1%40enterprisedb.com
15 files changed:
contrib/Makefile
contrib/pgcrypto/Makefile
contrib/pgcrypto/blf.c [deleted file]
contrib/pgcrypto/blf.h [deleted file]
contrib/pgcrypto/imath.c [deleted file]
contrib/pgcrypto/imath.h [deleted file]
contrib/pgcrypto/internal-sha2.c [deleted file]
contrib/pgcrypto/internal.c [deleted file]
contrib/pgcrypto/pgp-mpi-internal.c [deleted file]
contrib/pgcrypto/rijndael.c [deleted file]
contrib/pgcrypto/rijndael.h [deleted file]
contrib/pgcrypto/rijndael.tbl [deleted file]
doc/src/sgml/pgcrypto.sgml
src/tools/msvc/Mkvcbuild.pm
src/tools/msvc/vcregress.pl