From 04ba3af9b67a7c200dead1b44eb1178c7a37ad25 Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Sun, 10 Mar 2024 16:22:32 -0400 Subject: [PATCH] Added support for LibreSSL 3.9.0 --- .github/workflows/ci.yml | 14 ++++++++++++-- openssl-sys/build/main.rs | 3 ++- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 588296d490..e3ab2bab1c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -183,7 +183,12 @@ jobs: bindgen: true library: name: libressl - version: 3.8.2 + version: 3.8.3 + - target: x86_64-unknown-linux-gnu + bindgen: true + library: + name: libressl + version: 3.9.0 - target: x86_64-unknown-linux-gnu bindgen: false library: @@ -198,7 +203,12 @@ jobs: bindgen: false library: name: libressl - version: 3.8.2 + version: 3.8.3 + - target: x86_64-unknown-linux-gnu + bindgen: false + library: + name: libressl + version: 3.9.0 name: ${{ matrix.target }}-${{ matrix.library.name }}-${{ matrix.library.version }}-${{ matrix.bindgen }} runs-on: ubuntu-latest env: diff --git a/openssl-sys/build/main.rs b/openssl-sys/build/main.rs index 657c2d63b9..f5921f0206 100644 --- a/openssl-sys/build/main.rs +++ b/openssl-sys/build/main.rs @@ -302,6 +302,7 @@ See rust-openssl documentation for more information: (3, 8, 0) => ('3', '8', '0'), (3, 8, 1) => ('3', '8', '1'), (3, 8, _) => ('3', '8', 'x'), + (3, 9, 0) => ('3', '9', '0'), _ => version_error(), }; @@ -344,7 +345,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.8.1, but a different version of OpenSSL was found. The build is now aborting +through 3.9.0, but a different version of OpenSSL was found. The build is now aborting due to this version mismatch. "