1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-24 11:45:18 +03:00
aports/testing/openvpn3/disable-legacy-providers.patch
2022-08-06 08:45:41 +00:00

20 lines
675 B
Diff

diff --git a/test/unittests/test_ssl.cpp b/test/unittests/test_ssl.cpp
index cee531d..47cf897 100644
--- a/test/unittests/test_ssl.cpp
+++ b/test/unittests/test_ssl.cpp
@@ -114,7 +114,7 @@ TEST(ssl, translate_ciphers_openssl)
}
#endif
-#if defined(USE_OPENSSL) && OPENSSL_VERSION_NUMBER >= 0x30000000L
+#if defined(USE_OPENSSL) && OPENSSL_VERSION_NUMBER >= 0x30000000L && 0
TEST(ssl, enablelegacyProvider)
{
RandomAPI::Ptr rng(new FakeSecureRand);
@@ -135,4 +135,4 @@ TEST(ssl, enablelegacyProvider)
EXPECT_EQ(SSLLib::CryptoAPI::CipherContext::is_supported(f_legacy->libctx(), openvpn::CryptoAlgs::BF_CBC), true);
}
-#endif
\ No newline at end of file
+#endif