From 8436f088898a7a286fb1af7e552d644d411e95db Mon Sep 17 00:00:00 2001 From: Charlie Li Date: Sat, 27 May 2023 11:30:13 -0400 Subject: [PATCH 1/2] Allow LibreSSL 3.8.0 --- openssl-sys/build/main.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openssl-sys/build/main.rs b/openssl-sys/build/main.rs index ba149c17ff..1762068d75 100644 --- a/openssl-sys/build/main.rs +++ b/openssl-sys/build/main.rs @@ -285,6 +285,7 @@ See rust-openssl documentation for more information: (3, 7, 0) => ('3', '7', '0'), (3, 7, 1) => ('3', '7', '1'), (3, 7, _) => ('3', '7', 'x'), + (3, 8, 0) => ('3', '8', '0'), _ => version_error(), }; @@ -327,7 +328,7 @@ fn version_error() -> ! { " This crate is only compatible with OpenSSL (version 1.0.1 through 1.1.1, or 3.0.0), or LibreSSL 2.5 -through 3.7.x, but a different version of OpenSSL was found. The build is now aborting +through 3.8.0, but a different version of OpenSSL was found. The build is now aborting due to this version mismatch. " From e41a13249630a9b3bed7dd84e243bf85f4d2fd4b Mon Sep 17 00:00:00 2001 From: Charlie Li Date: Sat, 27 May 2023 11:31:02 -0400 Subject: [PATCH 2/2] CI: bump LibreSSL --- .github/workflows/ci.yml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 71deb57ab9..75117ffab8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -181,7 +181,12 @@ jobs: bindgen: true library: name: libressl - version: 3.7.2 + version: 3.7.3 + - target: x86_64-unknown-linux-gnu + bindgen: true + library: + name: libressl + version: 3.8.0 - target: x86_64-unknown-linux-gnu bindgen: false library: @@ -191,7 +196,12 @@ jobs: bindgen: false library: name: libressl - version: 3.7.2 + version: 3.7.3 + - target: x86_64-unknown-linux-gnu + bindgen: false + library: + name: libressl + version: 3.8.0 name: ${{ matrix.target }}-${{ matrix.library.name }}-${{ matrix.library.version }}-${{ matrix.bindgen }} runs-on: ubuntu-latest env: