Adjust rust-openssl version check

This commit is contained in:
Theo Buehler 2023-03-19 23:19:00 -06:00
parent 6b3c90efa9
commit 59261d04c5

View File

@ -1,12 +1,11 @@
diff --git a/openssl-sys/build/main.rs b/openssl-sys/build/main.rs diff --git a/openssl-sys/build/main.rs b/openssl-sys/build/main.rs
index cdea3eb4..b16ebecf 100644 index 3357518f..f55b5def 100644
--- a/openssl-sys/build/main.rs --- a/openssl-sys/build/main.rs
+++ b/openssl-sys/build/main.rs +++ b/openssl-sys/build/main.rs
@@ -282,7 +282,7 @@ See rust-openssl documentation for more information: @@ -295,6 +295,7 @@ See rust-openssl documentation for more information:
(3, 5, _) => ('3', '5', 'x'),
(3, 6, 0) => ('3', '6', '0'),
(3, 6, _) => ('3', '6', 'x'), (3, 6, _) => ('3', '6', 'x'),
- (3, 7, 0) => ('3', '7', '0'), (3, 7, 0) => ('3', '7', '0'),
(3, 7, 1) => ('3', '7', '1'),
+ (3, 7, _) => ('3', '7', 'x'), + (3, 7, _) => ('3', '7', 'x'),
_ => version_error(), _ => version_error(),
}; };