Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package transmission for openSUSE:Factory checked in at 2023-02-07 18:47:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/transmission (Old) and /work/SRC/openSUSE:Factory/.transmission.new.4462 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "transmission" Tue Feb 7 18:47:28 2023 rev:95 rq:1063368 version:3.00 Changes: -------- --- /work/SRC/openSUSE:Factory/transmission/transmission.changes 2023-01-28 20:09:59.386646649 +0100 +++ /work/SRC/openSUSE:Factory/.transmission.new.4462/transmission.changes 2023-02-07 18:47:30.702624292 +0100 @@ -1,0 +2,7 @@ +Sun Feb 5 18:06:11 UTC 2023 - Luca Beltrame <lbeltr...@kde.org> + +- Apply downstream patch from Gentoo to fix a crash with openSSL 3 + (boo#1207914): + * transmission-3.00-openssl-3.patch + +------------------------------------------------------------------- New: ---- transmission-3.00-openssl-3.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ transmission.spec ++++++ --- /var/tmp/diff_new_pack.wxCDWt/_old 2023-02-07 18:47:31.390627990 +0100 +++ /var/tmp/diff_new_pack.wxCDWt/_new 2023-02-07 18:47:31.394628012 +0100 @@ -29,6 +29,7 @@ Source3: README.openSUSE Patch0: harden_transmission-daemon.service.patch Patch1: transmission-hybrid-torrent-length.patch +Patch2: transmission-3.00-openssl-3.patch BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: intltool @@ -125,6 +126,7 @@ cp %{SOURCE3} . %patch0 -p1 %patch1 -p1 +%patch2 -p1 %build sed -i '/^Icon=/ s/$/-qt/' qt/transmission-qt.desktop ++++++ transmission-3.00-openssl-3.patch ++++++ >From 6ee128b95bacaff20746538dc97c2b8e2b9fcc29 Mon Sep 17 00:00:00 2001 From: Mike Gilbert <flop...@gentoo.org> Date: Sun, 15 May 2022 10:54:38 -0400 Subject: [PATCH] openssl: load "legacy" provider for RC4 --- libtransmission/crypto-utils-openssl.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/libtransmission/crypto-utils-openssl.c b/libtransmission/crypto-utils-openssl.c index 45fd71913..14d680654 100644 --- a/libtransmission/crypto-utils-openssl.c +++ b/libtransmission/crypto-utils-openssl.c @@ -20,6 +20,9 @@ #include <openssl/rand.h> #include <openssl/ssl.h> #include <openssl/x509.h> +#if OPENSSL_VERSION_MAJOR >= 3 +#include <openssl/provider.h> +#endif #include "transmission.h" #include "crypto-utils.h" @@ -184,6 +187,10 @@ static void openssl_evp_cipher_context_free(EVP_CIPHER_CTX* handle) tr_rc4_ctx_t tr_rc4_new(void) { +#if OPENSSL_VERSION_MAJOR >= 3 + OSSL_PROVIDER_load(NULL, "default"); + OSSL_PROVIDER_load(NULL, "legacy"); +#endif EVP_CIPHER_CTX* handle = EVP_CIPHER_CTX_new(); if (check_result(EVP_CipherInit_ex(handle, EVP_rc4(), NULL, NULL, NULL, -1))) -- 2.35.1