Skip to content

Commit 5292dec

Browse files
committed
Allow libressl 4.1.0 (stable release)
Fixes #2397
1 parent 6a45982 commit 5292dec

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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)