From 1a734ed85fda71630c795832e6d24ea560caf739 Mon Sep 17 00:00:00 2001 From: "rebecca via Groups.Io" Date: Sat, 20 Apr 2019 06:38:29 +0000 Subject: [PATCH] CryptoPkg: add issetugid declaration to fix openssl build on FreeBSD When building OpenSSL, the OpenBSD/FreeBSD/DFBSD code in crypto/uid.c calls issetugid(). Add the declaration of this function to CrtLibSupport.h to avoid the need to patch the openssl code on these platforms. Signed-off-by: Rebecca Cran Reviewed-by: Jian Wang --- CryptoPkg/Library/Include/CrtLibSupport.h | 1 + 1 file changed, 1 insertion(+) diff --git a/CryptoPkg/Library/Include/CrtLibSupport.h b/CryptoPkg/Library/Include/CrtLibSupport.h index a241fb96fb..b05c5d908c 100644 --- a/CryptoPkg/Library/Include/CrtLibSupport.h +++ b/CryptoPkg/Library/Include/CrtLibSupport.h @@ -155,6 +155,7 @@ uid_t getuid (void); uid_t geteuid (void); gid_t getgid (void); gid_t getegid (void); +int issetugid (void); void qsort (void *, size_t, size_t, int (*)(const void *, const void *)); char *getenv (const char *); char *secure_getenv (const char *);