1
0
mirror of https://github.com/postgres/postgres.git synced 2025-09-02 04:21:28 +03:00

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
This commit is contained in:
Peter Eisentraut
2021-11-05 13:59:42 +01:00
parent a5b336b8b9
commit db7d1a7b05
15 changed files with 42 additions and 7742 deletions

View File

@@ -36,7 +36,6 @@ SUBDIRS = \
pg_stat_statements \
pg_surgery \
pg_trgm \
pgcrypto \
pgrowlocks \
pgstattuple \
pg_visibility \
@@ -52,9 +51,9 @@ SUBDIRS = \
vacuumlo
ifeq ($(with_ssl),openssl)
SUBDIRS += sslinfo
SUBDIRS += pgcrypto sslinfo
else
ALWAYS_SUBDIRS += sslinfo
ALWAYS_SUBDIRS += pgcrypto sslinfo
endif
ifneq ($(with_uuid),no)