openssl/crypto/rand
Pauli 5c39a55d04 Use secure_getenv(3) when available.
Change all calls to getenv() inside libcrypto to use a new wrapper function
that use secure_getenv() if available and an issetugid then getenv if not.

CPU processor override flags are unchanged.

Extra checks for OPENSSL_issetugid() have been removed in favour of the
safe getenv.

Reviewed-by: Bernd Edlinger <bernd.edlinger@hotmail.de>
(Merged from https://github.com/openssl/openssl/pull/7047)
2018-09-24 11:21:18 +10:00
..
build.info crypto/rand: rename drbg_rand.c to drbg_ctr.c 2018-01-04 11:47:30 +10:00
drbg_ctr.c DRBG: Use the EVP layer to do AES encryption 2018-03-21 21:32:47 +01:00
drbg_lib.c Replace the public RAND_DRBG_USED_FLAGS #define by an internal constant 2018-09-12 23:36:18 +02:00
rand_egd.c Update copyright year 2018-05-29 13:16:04 +01:00
rand_err.c make update 2018-04-13 23:48:41 +02:00
rand_lcl.h Make sure we use a nonce when a nonce is required 2018-04-01 21:11:26 +02:00
rand_lib.c rand_lib.c: Don't open random devices while cleaning up. 2018-08-22 10:53:49 +02:00
rand_unix.c rand_unix.c: don't discard entropy bytes from /dev/*random 2018-08-19 12:44:05 +02:00
rand_vms.c VMS: only use the high precision on VMS v8.4 and up 2018-09-15 15:44:45 +02:00
rand_win.c Modify the DEVRANDOM source so that the files are kept open persistently. 2018-06-27 07:15:36 +10:00
randfile.c Use secure_getenv(3) when available. 2018-09-24 11:21:18 +10:00