summaryrefslogtreecommitdiffstats
path: root/fips/fipssyms.h
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2011-09-14 22:48:49 +0200
committerAndy Polyakov <appro@openssl.org>2011-09-14 22:48:49 +0200
commit03e389cf049e4bbc2f6d0028dc320fb0583aad2c (patch)
tree61020185544c4ff9567d236e9c1ee3a74ee417c8 /fips/fipssyms.h
parentUpdate CMAC/HMAC sefltests to use NIDs instead of function pointers. (diff)
downloadopenssl-03e389cf049e4bbc2f6d0028dc320fb0583aad2c.tar.xz
openssl-03e389cf049e4bbc2f6d0028dc320fb0583aad2c.zip
Allow for dynamic base in Win64 FIPS module.
Diffstat (limited to 'fips/fipssyms.h')
-rw-r--r--fips/fipssyms.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/fips/fipssyms.h b/fips/fipssyms.h
index 09bda6b4ed..67753d8033 100644
--- a/fips/fipssyms.h
+++ b/fips/fipssyms.h
@@ -666,3 +666,10 @@
#define _sparcv9_vis1_instrument _fips_sparcv9_vis1_instrument
#define bn_mul_mont_gather5 fips_bn_mul_mont_gather5
#define bn_scatter5 fips_bn_scatter5
+
+#if defined(_MSC_VER) && defined(_WIN64)
+# pragma section("fipsro$b",read)
+# define __fips_constseg __declspec(allocate("fipsro$b"))
+#else
+# define __fips_constseg
+#endif