diff options
author | Pauli <paul.dale@oracle.com> | 2019-08-29 23:38:58 +0200 |
---|---|---|
committer | Pauli <paul.dale@oracle.com> | 2019-08-30 00:01:34 +0200 |
commit | 280cc0180862ae6664b88d5ea12cb5f599000d36 (patch) | |
tree | 1ef44b92ac36897358bcd6768b7a47915c295e5c /e_os.h | |
parent | Fix NITs in comments and CHANGES for DEVRANDOM seeded check. (diff) | |
download | openssl-280cc0180862ae6664b88d5ea12cb5f599000d36.tar.xz openssl-280cc0180862ae6664b88d5ea12cb5f599000d36.zip |
Don't include the DEVRANDOM being seeded logic on Android.
It lacks exposure of the `shm*` functions and should prefer the GETRANDOM
source.
Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
Reviewed-by: Bernd Edlinger <bernd.edlinger@hotmail.de>
(Merged from https://github.com/openssl/openssl/pull/9735)
Diffstat (limited to 'e_os.h')
-rw-r--r-- | e_os.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -28,7 +28,7 @@ * default, we will try to read at least one of these files */ # define DEVRANDOM "/dev/urandom", "/dev/random", "/dev/hwrng", "/dev/srandom" -# ifdef __linux +# if defined(__linux) && !defined(__ANDROID__) # ifndef DEVRANDOM_WAIT # define DEVRANDOM_WAIT "/dev/random" # endif |