diff --git a/openssl-sys/build/main.rs b/openssl-sys/build/main.rs index 4fabb6edf031d7efcf08801053e8986a4b1c51e5..0b8c96dccd9b4b0a8ac6d6fba07a9bd3cc7af77e 100644 --- a/openssl-sys/build/main.rs +++ b/openssl-sys/build/main.rs @@ -199,7 +199,7 @@ See rust-openssl README for more information: (8, 1) => ('8', '1'), (8, _) => ('8', 'x'), (9, 0) => ('9', '0'), - (9, 1) => ('9', '1'), + (9, _) => ('9', 'x'), _ => version_error(), }; @@ -240,7 +240,7 @@ fn version_error() -> ! { " This crate is only compatible with OpenSSL 1.0.1 through 1.1.1, or LibreSSL 2.5 -through 2.9.1, but a different version of OpenSSL was found. The build is now aborting +through 2.9.x, but a different version of OpenSSL was found. The build is now aborting due to this version mismatch. "