summaryrefslogtreecommitdiff
path: root/cpp/src/IceSSL/SChannelEngine.cpp
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2017-04-01 15:22:04 +0200
committerJose <jose@zeroc.com>2017-04-01 15:22:04 +0200
commita500a8119101aeb8911031b5018f7fff1745ca8d (patch)
tree4fbc3c7417eeffb6412e8b3453b647f78faf0410 /cpp/src/IceSSL/SChannelEngine.cpp
parentVC90 build failure ambiguous call to overloaded function (diff)
downloadice-a500a8119101aeb8911031b5018f7fff1745ca8d.tar.bz2
ice-a500a8119101aeb8911031b5018f7fff1745ca8d.tar.xz
ice-a500a8119101aeb8911031b5018f7fff1745ca8d.zip
VC90 build failure SCH_USE_STRONG_CRYPTO not defined
Diffstat (limited to 'cpp/src/IceSSL/SChannelEngine.cpp')
-rw-r--r--cpp/src/IceSSL/SChannelEngine.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/cpp/src/IceSSL/SChannelEngine.cpp b/cpp/src/IceSSL/SChannelEngine.cpp
index f4a5ce68e6d..af26f55ad36 100644
--- a/cpp/src/IceSSL/SChannelEngine.cpp
+++ b/cpp/src/IceSSL/SChannelEngine.cpp
@@ -31,6 +31,15 @@
//
const int CALG_ECDH_EPHEM = 0x0000ae06;
+//
+// COMPILERFIX SCH_USE_STRONG_CRYPTO not defined with VC90
+//
+#if defined(_MSC_VER) && (_MSC_VER == 1500)
+# ifndef SCH_USE_STRONG_CRYPTO
+# define SCH_USE_STRONG_CRYPTO 0x00400000
+# endif
+#endif
+
using namespace std;
using namespace Ice;
using namespace IceUtil;