summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2022-05-15 19:50:17 -0400
committerMike Gilbert <floppym@gentoo.org>2022-05-15 19:52:12 -0400
commit97a7e798e009b259684064cb47d7277f1eeb6e89 (patch)
tree0fb297f8724924704304b108181e98698d9e91cc /net-p2p
parentapp-misc/dasel: drop 1.15.0 (diff)
downloadgentoo-97a7e798e009b259684064cb47d7277f1eeb6e89.tar.gz
gentoo-97a7e798e009b259684064cb47d7277f1eeb6e89.tar.bz2
gentoo-97a7e798e009b259684064cb47d7277f1eeb6e89.zip
net-p2p/transmission: update openssl-3 patch
Load "default" before "legacy" just in case we are running with multiple threads and some other thread uses a cipher in the default provider. Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/transmission/files/transmission-3.00-openssl-3.patch2
-rw-r--r--net-p2p/transmission/transmission-3.00-r3.ebuild (renamed from net-p2p/transmission/transmission-3.00-r2.ebuild)0
2 files changed, 1 insertions, 1 deletions
diff --git a/net-p2p/transmission/files/transmission-3.00-openssl-3.patch b/net-p2p/transmission/files/transmission-3.00-openssl-3.patch
index dbedcd217c94..f288298cbf3d 100644
--- a/net-p2p/transmission/files/transmission-3.00-openssl-3.patch
+++ b/net-p2p/transmission/files/transmission-3.00-openssl-3.patch
@@ -26,8 +26,8 @@ index 45fd71913..14d680654 100644
tr_rc4_ctx_t tr_rc4_new(void)
{
+#if OPENSSL_VERSION_MAJOR >= 3
-+ OSSL_PROVIDER_load(NULL, "legacy");
+ OSSL_PROVIDER_load(NULL, "default");
++ OSSL_PROVIDER_load(NULL, "legacy");
+#endif
EVP_CIPHER_CTX* handle = EVP_CIPHER_CTX_new();
diff --git a/net-p2p/transmission/transmission-3.00-r2.ebuild b/net-p2p/transmission/transmission-3.00-r3.ebuild
index 6fdc118910b6..6fdc118910b6 100644
--- a/net-p2p/transmission/transmission-3.00-r2.ebuild
+++ b/net-p2p/transmission/transmission-3.00-r3.ebuild