diff options
author | Magnus Hagander <magnus@hagander.net> | 2020-11-20 12:26:57 +0100 |
---|---|---|
committer | Magnus Hagander <magnus@hagander.net> | 2020-11-20 13:57:33 +0100 |
commit | 16f96c74d48e65da23d28665103e2c4c9d3414cc (patch) | |
tree | 768f5deeffe0751795ae1666016d4e2671918210 /src/tools/msvc/Solution.pm | |
parent | b5acf10cfc63ed1e0bc4eef466c0f4670a725ef3 (diff) | |
download | postgresql-16f96c74d48e65da23d28665103e2c4c9d3414cc.tar.gz postgresql-16f96c74d48e65da23d28665103e2c4c9d3414cc.zip |
Remove ability to independently select random number generator
Remove the ability to select random number generator independently from
SSL library. Instead, use the random number generator from the SSL
library (today only OpenSSL supported) if one is configured. If no SSL
library is configured, use the platform default (which means use
CryptoAPI on Win32 and /dev/urandom on Linux).
This also restructures pg_strong_random.c to have three clearly separate
sections, one for each implementation, with two functions in each,
instead of a scattered set of ifdefs throughout the whole file.
Author: Daniel Gustafsson, Magnus Hagander, Michael Paquier
Discussion: https://postgr.es/m/632623.1605460616@sss.pgh.pa.us
Diffstat (limited to 'src/tools/msvc/Solution.pm')
-rw-r--r-- | src/tools/msvc/Solution.pm | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/tools/msvc/Solution.pm b/src/tools/msvc/Solution.pm index 17e480546cf..22d6abd3674 100644 --- a/src/tools/msvc/Solution.pm +++ b/src/tools/msvc/Solution.pm @@ -475,7 +475,6 @@ sub GenerateFiles USE_ASSERT_CHECKING => $self->{options}->{asserts} ? 1 : undef, USE_BONJOUR => undef, USE_BSD_AUTH => undef, - USE_DEV_URANDOM => undef, USE_ICU => $self->{options}->{icu} ? 1 : undef, USE_LIBXML => undef, USE_LIBXSLT => undef, @@ -483,7 +482,6 @@ sub GenerateFiles USE_LLVM => undef, USE_NAMED_POSIX_SEMAPHORES => undef, USE_OPENSSL => undef, - USE_OPENSSL_RANDOM => undef, USE_PAM => undef, USE_SLICING_BY_8_CRC32C => undef, USE_SSE42_CRC32C => undef, @@ -492,7 +490,6 @@ sub GenerateFiles USE_SYSV_SEMAPHORES => undef, USE_SYSV_SHARED_MEMORY => undef, USE_UNNAMED_POSIX_SEMAPHORES => undef, - USE_WIN32_RANDOM => 1, USE_WIN32_SEMAPHORES => 1, USE_WIN32_SHARED_MEMORY => 1, WCSTOMBS_L_IN_XLOCALE => undef, |