Skip to content

Commit 2f9b496

Browse files
authored
Merge pull request #2398 from botovq/libressl-4.1
Support Libressl 4.1
2 parents 6a45982 + ae9d988 commit 2f9b496

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -192,17 +192,17 @@ jobs:
192192
bindgen: true
193193
library:
194194
name: libressl
195-
version: 3.8.4
195+
version: 3.9.2
196196
- target: x86_64-unknown-linux-gnu
197197
bindgen: true
198198
library:
199199
name: libressl
200-
version: 3.9.2
200+
version: 4.0.0
201201
- target: x86_64-unknown-linux-gnu
202202
bindgen: true
203203
library:
204204
name: libressl
205-
version: 4.0.0
205+
version: 4.1.0
206206
- target: x86_64-unknown-linux-gnu
207207
bindgen: false
208208
library:
@@ -212,17 +212,17 @@ jobs:
212212
bindgen: false
213213
library:
214214
name: libressl
215-
version: 3.8.4
215+
version: 3.9.2
216216
- target: x86_64-unknown-linux-gnu
217217
bindgen: false
218218
library:
219219
name: libressl
220-
version: 3.9.2
220+
version: 4.0.0
221221
- target: x86_64-unknown-linux-gnu
222222
bindgen: false
223223
library:
224224
name: libressl
225-
version: 4.0.0
225+
version: 4.1.0
226226
name: ${{ matrix.target }}-${{ matrix.library.name }}-${{ matrix.library.version }}-${{ matrix.bindgen }}
227227
runs-on: ubuntu-22.04
228228
env:

openssl-sys/build/main.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,6 +449,8 @@ See rust-openssl documentation for more information:
449449
(3, 9, _) => ('3', '9', 'x'),
450450
(4, 0, 0) => ('4', '0', '0'),
451451
(4, 0, _) => ('4', '0', 'x'),
452+
(4, 1, 0) => ('4', '1', '0'),
453+
(4, 1, _) => ('4', '1', 'x'),
452454
_ => version_error(),
453455
};
454456

@@ -491,7 +493,7 @@ fn version_error() -> ! {
491493
"
492494
493495
This crate is only compatible with OpenSSL (version 1.0.1 through 1.1.1, or 3), or LibreSSL 2.5
494-
through 4.0.x, but a different version of OpenSSL was found. The build is now aborting
496+
through 4.1.x, but a different version of OpenSSL was found. The build is now aborting
495497
due to this version mismatch.
496498
497499
"

0 commit comments

Comments
 (0)