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)
This commit is contained in:
parent
0acee5045a
commit
cff55b90e9
2 changed files with 2 additions and 2 deletions
|
@ -19,7 +19,7 @@ int OPENSSL_issetugid(void)
|
||||||
return issetugid();
|
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)
|
int OPENSSL_issetugid(void)
|
||||||
{
|
{
|
||||||
|
|
2
e_os.h
2
e_os.h
|
@ -87,7 +87,7 @@ extern "C" {
|
||||||
# define DEVRANDOM_EGD "/var/run/egd-pool","/dev/egd-pool","/etc/egd-pool","/etc/entropy"
|
# define DEVRANDOM_EGD "/var/run/egd-pool","/dev/egd-pool","/etc/egd-pool","/etc/entropy"
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
# if defined(OPENSSL_SYS_VXWORKS)
|
# if defined(OPENSSL_SYS_VXWORKS) || defined(OPENSSL_SYS_UEFI)
|
||||||
# define NO_SYS_PARAM_H
|
# define NO_SYS_PARAM_H
|
||||||
# define NO_CHMOD
|
# define NO_CHMOD
|
||||||
# define NO_SYSLOG
|
# define NO_SYSLOG
|
||||||
|
|
Loading…
Reference in a new issue