summaryrefslogtreecommitdiffstats
path: root/fips
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2011-11-08 13:15:04 +0100
committerAndy Polyakov <appro@openssl.org>2011-11-08 13:15:04 +0100
commit7467b76fbf007ea444141582ca2d2a1e9b29da71 (patch)
tree6da3999e9b135cc1d15acb4f790b3cde52d9640c /fips
parentfipsld, incore: switch to new cross-compile support. (diff)
downloadopenssl-7467b76fbf007ea444141582ca2d2a1e9b29da71.tar.xz
openssl-7467b76fbf007ea444141582ca2d2a1e9b29da71.zip
fips_premain.c: fix warning about _exit on MacOS X.
Diffstat (limited to 'fips')
-rw-r--r--fips/fips_premain.c2
-rw-r--r--fips/fips_premain.c.sha12
2 files changed, 2 insertions, 2 deletions
diff --git a/fips/fips_premain.c b/fips/fips_premain.c
index a7c8b78f8f..7dc5246006 100644
--- a/fips/fips_premain.c
+++ b/fips/fips_premain.c
@@ -7,7 +7,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#if defined(__unix) || defined(__unix__) || defined(__vxworks) || defined(__ANDROID__)
+#if defined(__unix) || defined(__unix__) || defined(__vxworks) || defined(__ANDROID__) || defined(__APPLE__)
#include <unistd.h>
#endif
diff --git a/fips/fips_premain.c.sha1 b/fips/fips_premain.c.sha1
index e0332e8afd..b9fb5dfc1d 100644
--- a/fips/fips_premain.c.sha1
+++ b/fips/fips_premain.c.sha1
@@ -1 +1 @@
-HMAC-SHA1(fips_premain.c)= a401afd9c2b57f0f11d2b34b6d0c9815b1fe6a66
+HMAC-SHA1(fips_premain.c)= 1eaf66f76187877ff403708a2948d240f92736a0