]> granicus.if.org Git - postgresql/commit
Remove configure switch --disable-strong-random
authorMichael Paquier <michael@paquier.xyz>
Tue, 1 Jan 2019 11:05:51 +0000 (20:05 +0900)
committerMichael Paquier <michael@paquier.xyz>
Tue, 1 Jan 2019 11:05:51 +0000 (20:05 +0900)
commit1707a0d2aa6b2bcfe78f63836c769943a1a6b9e0
tree2e4acf6889358493cfda78582d54b8b751c3fbe5
parentd880b208e5fcf55e3ae396d5fc5fa6639f58205f
Remove configure switch --disable-strong-random

This removes a portion of infrastructure introduced by fe0a0b5 to allow
compilation of Postgres in environments where no strong random source is
available, meaning that there is no linking to OpenSSL and no
/dev/urandom (Windows having its own CryptoAPI).  No systems shipped
this century lack /dev/urandom, and the buildfarm is actually not
testing this switch at all, so just remove it.  This simplifies
particularly some backend code which included a fallback implementation
using shared memory, and removes a set of alternate regression output
files from pgcrypto.

Author: Michael Paquier
Reviewed-by: Tom Lane
Discussion: https://postgr.es/m/20181230063219.GG608@paquier.xyz
32 files changed:
configure
configure.in
contrib/pgcrypto/expected/pgp-compression_1.out [deleted file]
contrib/pgcrypto/expected/pgp-decrypt_1.out [deleted file]
contrib/pgcrypto/expected/pgp-encrypt_1.out [deleted file]
contrib/pgcrypto/expected/pgp-pubkey-encrypt_1.out [deleted file]
contrib/pgcrypto/pgcrypto.c
contrib/pgcrypto/pgp-encrypt.c
contrib/pgcrypto/pgp-mpi-internal.c
contrib/pgcrypto/pgp-pubenc.c
contrib/pgcrypto/pgp-s2k.c
contrib/pgcrypto/px-crypt.c
contrib/pgcrypto/px.c
doc/src/sgml/installation.sgml
doc/src/sgml/monitoring.sgml
src/Makefile.global.in
src/backend/access/transam/xlog.c
src/backend/libpq/auth-scram.c
src/backend/libpq/auth.c
src/backend/postmaster/postmaster.c
src/backend/storage/ipc/ipci.c
src/backend/storage/lmgr/lwlocknames.txt
src/backend/utils/adt/float.c
src/backend/utils/misc/Makefile
src/backend/utils/misc/backend_random.c [deleted file]
src/bin/pgbench/pgbench.c
src/include/pg_config.h.in
src/include/pg_config.h.win32
src/include/port.h
src/include/utils/backend_random.h [deleted file]
src/interfaces/libpq/fe-auth-scram.c
src/port/Makefile