From 97a7e798e009b259684064cb47d7277f1eeb6e89 Mon Sep 17 00:00:00 2001 From: Mike Gilbert Date: Sun, 15 May 2022 19:50:17 -0400 Subject: 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 --- net-p2p/transmission/files/transmission-3.00-openssl-3.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'net-p2p/transmission/files') 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(); -- cgit v1.2.3-65-gdbad