aboutsummaryrefslogtreecommitdiff
path: root/fips
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2011-11-08 12:21:32 +0000
committerAndy Polyakov <appro@openssl.org>2011-11-08 12:21:32 +0000
commitd43a7f2cc6dd036de9691e814cf4f0d26c7cf46d (patch)
tree0a6660e261e5ccd1101cf6970b0cd08951fdde62 /fips
parent7467b76fbf007ea444141582ca2d2a1e9b29da71 (diff)
downloadopenssl-d43a7f2cc6dd036de9691e814cf4f0d26c7cf46d.zip
openssl-d43a7f2cc6dd036de9691e814cf4f0d26c7cf46d.tar.gz
openssl-d43a7f2cc6dd036de9691e814cf4f0d26c7cf46d.tar.bz2
fips_canister.c: add cross-compiler support for iOS (it applies even to
MacOS X, because it's easier to handle it this way).
Diffstat (limited to 'fips')
-rw-r--r--fips/fips_canister.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fips/fips_canister.c b/fips/fips_canister.c
index 7d67d32..7be4842 100644
--- a/fips/fips_canister.c
+++ b/fips/fips_canister.c
@@ -34,6 +34,7 @@ const void *FIPS_text_end(void);
defined(__mips__)|| defined(__mips))) || \
(defined(__linux) && ((defined(__PPC__) && !defined(__PPC64__)) || \
defined(__arm__) || defined(__arm))) || \
+ (defined(__APPLE__) /* verified on all MacOS X & iOS flavors */)|| \
(defined(_WIN32) && defined(_MSC_VER))
# define FIPS_REF_POINT_IS_CROSS_COMPILER_AWARE
# endif