Commit ae6e32f6 authored by Patrycja Rosa's avatar Patrycja Rosa 🐱
Browse files

testing/openvpn3: rebuild against openssl3

parent d02f962a
Pipeline #131271 passed with stage
in 3 minutes and 46 seconds
......@@ -2,7 +2,7 @@
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
pkgname=openvpn3
pkgver=3.7
pkgrel=0
pkgrel=1
pkgdesc="C++ class library that implements the functionality of an OpenVPN client"
url="https://github.com/OpenVPN/openvpn3"
arch="all !s390x" # broken tests due to endianness assumptions
......@@ -12,6 +12,7 @@ makedepends="cmake samurai gtest-dev $depends_dev"
subpackages="$pkgname-dev"
source="https://github.com/OpenVPN/openvpn3/archive/refs/tags/release/$pkgver/openvpn3-$pkgver.tar.gz
unvendor.patch
disable-legacy-providers.patch
"
builddir="$srcdir/openvpn3-release-$pkgver"
......@@ -42,4 +43,5 @@ package() {
sha512sums="
de95bd2b1a01179aa81e1612be175540c2486b856f66880372d09966655bbbadd71d874ed49b032566dde2896207bc76298c5cfcf73e86272c04d5aaa977d660 openvpn3-3.7.tar.gz
83bf9085f97a08abccb583a5bd0b15258594b2746e45128c1f987445a92c1de0ea6ef80b750a12dab4baf4aba6fe94d44ff4e8b886796bd107e5cd3568755c5d unvendor.patch
a28e749d9d598c9268ef946876c29635d1a7c0cead8dd1e422dcc2344dbaee3d551106c2de4ac45c474e0cf8ad088684d1952e5bbc0c540d6da18edcfbdff87d disable-legacy-providers.patch
"
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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment