summaryrefslogtreecommitdiff
path: root/cpp/test
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2020-12-29 19:56:12 +0100
committerJose <jose@zeroc.com>2020-12-29 19:57:08 +0100
commit1885a17862d6d0c953adabda8afc7b1825dfd571 (patch)
tree803bec887b877976de6fd00dfc690873262fd4a6 /cpp/test
parentFix segfault unmarshalling exception class data member - Close #1224 (diff)
downloadice-1885a17862d6d0c953adabda8afc7b1825dfd571.tar.bz2
ice-1885a17862d6d0c953adabda8afc7b1825dfd571.tar.xz
ice-1885a17862d6d0c953adabda8afc7b1825dfd571.zip
Fix OpenSSL SSL3 testing failure - Close #1225
Diffstat (limited to 'cpp/test')
-rw-r--r--cpp/test/IceSSL/configuration/AllTests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/test/IceSSL/configuration/AllTests.cpp b/cpp/test/IceSSL/configuration/AllTests.cpp
index 18a72318f49..9d245f28ed5 100644
--- a/cpp/test/IceSSL/configuration/AllTests.cpp
+++ b/cpp/test/IceSSL/configuration/AllTests.cpp
@@ -2122,7 +2122,7 @@ allTests(Test::TestHelper* helper, const string& /*testDir*/, bool p12)
//
// Skip the test if OpenSSL was build without SSL3 support
//
-#if !defined(OPENSSL_NO_SSL3_METHOD)
+#if !defined(OPENSSL_NO_SSL3_METHOD) && defined(SSL3_VERSION)
//
// This should fail because the client only accept SSLv3 and the server
// use the default protocol set that disables SSLv3