From f9027b7549e7d557d627aeadc157097b2c5c018b Mon Sep 17 00:00:00 2001 From: Theo Buehler Date: Tue, 15 Oct 2024 08:05:19 +0200 Subject: [PATCH 1/2] LibreSSL 4.0.0 is released & stable --- openssl-sys/build/main.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/openssl-sys/build/main.rs b/openssl-sys/build/main.rs index c9bddf538..f379e1e6b 100644 --- a/openssl-sys/build/main.rs +++ b/openssl-sys/build/main.rs @@ -380,6 +380,8 @@ See rust-openssl documentation for more information: (3, 8, _) => ('3', '8', 'x'), (3, 9, 0) => ('3', '9', '0'), (3, 9, _) => ('3', '9', 'x'), + (4, 0, 0) => ('4', '0', '0'), + (4, 0, _) => ('4', '0', 'x'), _ => version_error(), }; @@ -422,7 +424,7 @@ fn version_error() -> ! { " This crate is only compatible with OpenSSL (version 1.0.1 through 1.1.1, or 3), or LibreSSL 2.5 -through 3.9.x, but a different version of OpenSSL was found. The build is now aborting +through 4.0.x, but a different version of OpenSSL was found. The build is now aborting due to this version mismatch. " From c4dabc2fc2f76d734fc361401c3bae1a911bc405 Mon Sep 17 00:00:00 2001 From: Theo Buehler Date: Tue, 15 Oct 2024 07:59:54 +0200 Subject: [PATCH 2/2] CI: Update LibreSSL CI LibreSSL 3.7 is out of support, so replace it with just released 4.0. Bump 3.9 branch to 3.9.2 and 3.8 branch to 3.8.4. --- .github/workflows/ci.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e2e6881f8..212183e2c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -184,17 +184,17 @@ jobs: bindgen: true library: name: libressl - version: 3.7.3 + version: 3.8.4 - target: x86_64-unknown-linux-gnu bindgen: true library: name: libressl - version: 3.8.3 + version: 3.9.2 - target: x86_64-unknown-linux-gnu bindgen: true library: name: libressl - version: 3.9.1 + version: 4.0.0 - target: x86_64-unknown-linux-gnu bindgen: false library: @@ -204,17 +204,17 @@ jobs: bindgen: false library: name: libressl - version: 3.7.3 + version: 3.8.4 - target: x86_64-unknown-linux-gnu bindgen: false library: name: libressl - version: 3.8.3 + version: 3.9.2 - target: x86_64-unknown-linux-gnu bindgen: false library: name: libressl - version: 3.9.1 + version: 4.0.0 name: ${{ matrix.target }}-${{ matrix.library.name }}-${{ matrix.library.version }}-${{ matrix.bindgen }} runs-on: ubuntu-latest env: