From cacae42e5ed6d3bb7df5386d243df678c7f9cef0 Mon Sep 17 00:00:00 2001 From: xavier2k6 <42386382+xavier2k6@users.noreply.github.com> Date: Tue, 26 Sep 2023 04:51:53 +0100 Subject: [PATCH] Bump OpenSSL requirement to 3.0.2 Addresses: * [CVE-2022-0778](https://github.com/advisories/GHSA-x3mh-jvjw-3xwx) * [OpenSSL 1.1.1 End of Life](https://www.openssl.org/blog/blog/2023/09/11/eol-111/) PR #19638. --- .github/workflows/ci_macos.yaml | 4 ++-- CMakeLists.txt | 2 +- INSTALL | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci_macos.yaml b/.github/workflows/ci_macos.yaml index 0a78631cf..ac5437047 100644 --- a/.github/workflows/ci_macos.yaml +++ b/.github/workflows/ci_macos.yaml @@ -23,7 +23,7 @@ jobs: env: boost_path: "${{ github.workspace }}/../boost" - openssl_root: /usr/local/opt/openssl@1.1 + openssl_root: /usr/local/opt/openssl@3 steps: - name: Checkout repository @@ -41,7 +41,7 @@ jobs: brew update > /dev/null brew install \ cmake ninja \ - openssl@1.1 zlib + openssl@3 zlib - name: Setup ccache uses: Chocobo1/setup-ccache-action@v1 diff --git a/CMakeLists.txt b/CMakeLists.txt index 4f8c1319c..06032cba5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,7 +9,7 @@ project(qBittorrent # version requirements - older versions may work, but you are on your own set(minBoostVersion 1.76) set(minQt6Version 6.5.0) -set(minOpenSSLVersion 1.1.1) +set(minOpenSSLVersion 3.0.2) set(minLibtorrent1Version 1.2.19) set(minLibtorrentVersion 2.0.9) set(minZlibVersion 1.2.11) diff --git a/INSTALL b/INSTALL index 89caa8ef4..8d43301ed 100644 --- a/INSTALL +++ b/INSTALL @@ -9,7 +9,7 @@ qBittorrent - A BitTorrent client in C++ / Qt * By Arvid Norberg, https://www.libtorrent.org/ * Be careful: another library (the one used by rTorrent) uses a similar name - - OpenSSL >= 1.1.1 + - OpenSSL >= 3.0.2 - Qt 6.5.0 - 6.x