From f167eed00864a3e0f07e7e1b23233d76765d6951 Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Thu, 28 Mar 2024 07:16:05 -0400 Subject: [PATCH] Support stable LibreSSL 3.9.x --- .github/workflows/ci.yml | 4 ++-- openssl-sys/build/main.rs | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e3ab2bab1..e35c0479e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -188,7 +188,7 @@ jobs: bindgen: true library: name: libressl - version: 3.9.0 + version: 3.9.1 - target: x86_64-unknown-linux-gnu bindgen: false library: @@ -208,7 +208,7 @@ jobs: bindgen: false library: name: libressl - version: 3.9.0 + version: 3.9.1 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 f5921f020..606acc35c 100644 --- a/openssl-sys/build/main.rs +++ b/openssl-sys/build/main.rs @@ -303,6 +303,7 @@ See rust-openssl documentation for more information: (3, 8, 1) => ('3', '8', '1'), (3, 8, _) => ('3', '8', 'x'), (3, 9, 0) => ('3', '9', '0'), + (3, 9, _) => ('3', '9', 'x'), _ => version_error(), }; @@ -345,7 +346,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.0, but a different version of OpenSSL was found. The build is now aborting +through 3.9.x, but a different version of OpenSSL was found. The build is now aborting due to this version mismatch. "