diff options
author | Anthony Neal <aneal@zeroc.com> | 2003-12-18 19:42:34 +0000 |
---|---|---|
committer | Anthony Neal <aneal@zeroc.com> | 2003-12-18 19:42:34 +0000 |
commit | fcefbe192671ad1b5554793f9245de55886daa81 (patch) | |
tree | 35c6079a9808aa3abe569d500172ea53652f5765 /cpp/src/IceSSL/OpenSSLPluginI.cpp | |
parent | fix (diff) | |
download | ice-fcefbe192671ad1b5554793f9245de55886daa81.tar.bz2 ice-fcefbe192671ad1b5554793f9245de55886daa81.tar.xz ice-fcefbe192671ad1b5554793f9245de55886daa81.zip |
Added conditional compilation of CRYPTO_cleanup_all_ext_data() and
ENGINE_cleanup(), as they are not supported until OpenSSL 0.9.7a.
Diffstat (limited to 'cpp/src/IceSSL/OpenSSLPluginI.cpp')
-rw-r--r-- | cpp/src/IceSSL/OpenSSLPluginI.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cpp/src/IceSSL/OpenSSLPluginI.cpp b/cpp/src/IceSSL/OpenSSLPluginI.cpp index a82257a1d4a..104f5228050 100644 --- a/cpp/src/IceSSL/OpenSSLPluginI.cpp +++ b/cpp/src/IceSSL/OpenSSLPluginI.cpp @@ -219,8 +219,10 @@ IceSSL::OpenSSLPluginI::~OpenSSLPluginI() _serverContext.cleanUp(); _clientContext.cleanUp(); +#if OPENSSL_VERSION_NUMBER >= 0x0090700fL ENGINE_cleanup(); CRYPTO_cleanup_all_ex_data(); +#endif ERR_free_strings(); unregisterThreads(); |