pgcrypto: Remove non-OpenSSL support
Peter Eisentraut <peter@eisentraut.org>
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
Files
| Path | Change | +/− |
|---|---|---|
| contrib/Makefile | modified | +2 −3 |
| contrib/pgcrypto/blf.c | deleted | +0 −499 |
| contrib/pgcrypto/blf.h | deleted | +0 −46 |
| contrib/pgcrypto/imath.c | deleted | +0 −3588 |
| contrib/pgcrypto/imath.h | deleted | +0 −445 |
| contrib/pgcrypto/internal.c | deleted | +0 −585 |
| contrib/pgcrypto/internal-sha2.c | deleted | +0 −206 |
| contrib/pgcrypto/Makefile | modified | +27 −46 |
| contrib/pgcrypto/pgp-mpi-internal.c | deleted | +0 −304 |
| contrib/pgcrypto/rijndael.c | deleted | +0 −677 |
| contrib/pgcrypto/rijndael.h | deleted | +0 −59 |
| contrib/pgcrypto/rijndael.tbl | deleted | +0 −1138 |
| doc/src/sgml/pgcrypto.sgml | modified | +10 −103 |
| src/tools/msvc/Mkvcbuild.pm | modified | +2 −37 |
| src/tools/msvc/vcregress.pl | modified | +1 −6 |
Documentation touched
Discussion
- remove internal support in pgcrypto? 11 messages · 2021-08-24 → 2021-11-05