diff options
author | Qin Long <qin.long@intel.com> | 2017-03-15 23:33:57 +0800 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2017-03-29 07:35:59 +0200 |
commit | cff55b90e95e1fa6c90154f93f12363e761d88c7 (patch) | |
tree | 19f48c464f5c958283251bc2906f95475baa0aa1 | |
parent | 0acee5045aa5d07242b02ce6fb7ab88a920799c6 (diff) |
Cleaning UEFI Build with additional OPENSSL_SYS_UEFI flags
Add OPENSSL_SYS_UEFI to remove unused syslog and uid stuffs for
more clean UEFI build.
Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2961)
-rw-r--r-- | crypto/uid.c | 2 | ||||
-rw-r--r-- | e_os.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/crypto/uid.c b/crypto/uid.c index 9756d51850..4e1890f2d2 100644 --- a/crypto/uid.c +++ b/crypto/uid.c @@ -19,7 +19,7 @@ int OPENSSL_issetugid(void) return issetugid(); } -#elif defined(OPENSSL_SYS_WIN32) || defined(OPENSSL_SYS_VXWORKS) +#elif defined(OPENSSL_SYS_WIN32) || defined(OPENSSL_SYS_VXWORKS) || defined(OPENSSL_SYS_UEFI) int OPENSSL_issetugid(void) { @@ -87,7 +87,7 @@ extern "C" { # define DEVRANDOM_EGD "/var/run/egd-pool","/dev/egd-pool","/etc/egd-pool","/etc/entropy" # endif -# if defined(OPENSSL_SYS_VXWORKS) +# if defined(OPENSSL_SYS_VXWORKS) || defined(OPENSSL_SYS_UEFI) # define NO_SYS_PARAM_H # define NO_CHMOD # define NO_SYSLOG |