summaryrefslogtreecommitdiff
path: root/cpp/src/IceSSL/OpenSSLPluginI.cpp
diff options
context:
space:
mode:
authorAnthony Neal <aneal@zeroc.com>2004-01-06 19:35:36 +0000
committerAnthony Neal <aneal@zeroc.com>2004-01-06 19:35:36 +0000
commit81bc7354b1d5086230d75b0cb60ae1288ff105c6 (patch)
tree965d9fe6db6c2611aaf948e140d59cd6b7df56b3 /cpp/src/IceSSL/OpenSSLPluginI.cpp
parentremoving diagnostic (diff)
downloadice-81bc7354b1d5086230d75b0cb60ae1288ff105c6.tar.bz2
ice-81bc7354b1d5086230d75b0cb60ae1288ff105c6.tar.xz
ice-81bc7354b1d5086230d75b0cb60ae1288ff105c6.zip
Fixes the compile error with earlier versions of OpenSSL.
Diffstat (limited to 'cpp/src/IceSSL/OpenSSLPluginI.cpp')
-rw-r--r--cpp/src/IceSSL/OpenSSLPluginI.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/cpp/src/IceSSL/OpenSSLPluginI.cpp b/cpp/src/IceSSL/OpenSSLPluginI.cpp
index 4e8787eb3dd..6adc65674e2 100644
--- a/cpp/src/IceSSL/OpenSSLPluginI.cpp
+++ b/cpp/src/IceSSL/OpenSSLPluginI.cpp
@@ -34,7 +34,10 @@
#include <openssl/rand.h>
#include <openssl/err.h>
+
+#if OPENSSL_VERSION_NUMBER >= 0x0090700fL
#include <openssl/engine.h>
+#endif
#include <sstream>