pgsql: pgcrypto: Remove non-OpenSSL support - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: pgcrypto: Remove non-OpenSSL support
Date
Msg-id E1miyyh-0007VL-Ba@gemulon.postgresql.org
Whole thread Raw
Responses Re: pgsql: pgcrypto: Remove non-OpenSSL support  (Andres Freund <andres@anarazel.de>)
List 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@yesql.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(-)


pgsql-committers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: pgsql: Add various assertions to heap pruning code.
Next
From: Robert Haas
Date:
Subject: pgsql: amcheck: Add additional TOAST pointer checks.