From: Long, Qin Date: Wed, 22 Jul 2015 09:04:18 +0000 (+0100) Subject: Add UEFI flag for rand build X-Git-Tag: OpenSSL_1_1_0-pre1~722 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=fb4844bbc62fb014c115cd8fd2fc4304cba6eb89;p=oweals%2Fopenssl.git Add UEFI flag for rand build Add OPENSSL_SYS_UEFI flag for RAND handling; Signed-off-by: Rich Salz Reviewed-by: Tim Hudson --- diff --git a/crypto/rand/rand_unix.c b/crypto/rand/rand_unix.c index 72f8617f7b..bb70a5b3fe 100644 --- a/crypto/rand/rand_unix.c +++ b/crypto/rand/rand_unix.c @@ -116,7 +116,7 @@ #include #include "rand_lcl.h" -#if !(defined(OPENSSL_SYS_WINDOWS) || defined(OPENSSL_SYS_WIN32) || defined(OPENSSL_SYS_VMS) || defined(OPENSSL_SYS_OS2) || defined(OPENSSL_SYS_VXWORKS) || defined(OPENSSL_SYS_NETWARE)) +#if !(defined(OPENSSL_SYS_WINDOWS) || defined(OPENSSL_SYS_WIN32) || defined(OPENSSL_SYS_VMS) || defined(OPENSSL_SYS_OS2) || defined(OPENSSL_SYS_VXWORKS) || defined(OPENSSL_SYS_NETWARE) || defined(OPENSSL_SYS_UEFI)) # include # include @@ -419,7 +419,7 @@ int RAND_poll(void) * defined(OPENSSL_SYS_VXWORKS) || * defined(OPENSSL_SYS_NETWARE)) */ -#if defined(OPENSSL_SYS_VXWORKS) +#if defined(OPENSSL_SYS_VXWORKS) || defined(OPENSSL_SYS_UEFI) int RAND_poll(void) { return 0;