diff --git a/openssl-sys/build/main.rs b/openssl-sys/build/main.rs index a5b713ae..062ba21e 100644 --- a/openssl-sys/build/main.rs +++ b/openssl-sys/build/main.rs @@ -497,7 +497,8 @@ See rust-openssl README for more information: (6, 2) => ('6', '2'), (6, _) => ('6', 'x'), (7, _) => ('7', 'x'), - (8, _) => ('8', 'x'), + (8, 0) => ('8', '0'), + (8, 1) => ('8', '1'), _ => version_error(), }; @@ -538,7 +539,7 @@ fn version_error() -> ! { " This crate is only compatible with OpenSSL 1.0.1 through 1.1.1, or LibreSSL 2.5 -through 2.8, but a different version of OpenSSL was found. The build is now aborting +through 2.8.1, but a different version of OpenSSL was found. The build is now aborting due to this version mismatch. "