Skip to content

Commit

Permalink
Merge pull request #2202 from alex/libressl-390
Browse files Browse the repository at this point in the history
Added support for LibreSSL 3.9.0
  • Loading branch information
alex committed Mar 10, 2024
2 parents 9f29412 + 04ba3af commit 450110f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand Down
3 changes: 2 additions & 1 deletion openssl-sys/build/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
};

Expand Down Expand Up @@ -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.
"
Expand Down

0 comments on commit 450110f

Please sign in to comment.