ports/devel/ice/files/patch-cpp-test-IceSSL-configuration-AllTests.cpp
2022-01-15 20:23:08 +01:00

31 lines
1.2 KiB
C++

--- cpp/test/IceSSL/configuration/AllTests.cpp.orig 2019-08-12 19:54:18 UTC
+++ cpp/test/IceSSL/configuration/AllTests.cpp
@@ -27,7 +27,7 @@ using namespace Ice;
//
// With OpenSSL 1.1.0 we need to set SECLEVEL=0 to allow ADH ciphers
//
-# if OPENSSL_VERSION_NUMBER >= 0x10100000L
+# if OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER)
const string anonCiphers = "ADH:@SECLEVEL=0";
# else
const string anonCiphers = "ADH";
@@ -2060,7 +2060,7 @@ allTests(const CommunicatorPtr& communicator, const st
//
// No DSA support in Secure Transport / AIX 7.1 / SChannel
//
-#if !defined(ICE_USE_SECURE_TRANSPORT) && !defined(_AIX) && !defined(ICE_USE_SCHANNEL)
+#if !defined(ICE_USE_SECURE_TRANSPORT) && !defined(_AIX) && !defined(ICE_USE_SCHANNEL) && !defined(LIBRESSL_VERSION_NUMBER)
{
//
// DSA PEM keys are not supported with SChannel. Since Windows 10
@@ -3231,9 +3231,7 @@ allTests(const CommunicatorPtr& communicator, const st
#endif
}
-#ifndef _AIX
- // On AIX 6.1, the default root certificates don't validate demo.zeroc.com
-
+#if 0 // we don't want to talk to zeroc while building
cout << "testing system CAs... " << flush;
{
InitializationData initData;