From 995f9a9533d283c3895ef39e2b0b04abf95f62ee Mon Sep 17 00:00:00 2001 From: Charlie Li Date: Fri, 26 Apr 2019 14:35:11 -0400 Subject: [PATCH] Whitelist future LibreSSL 2.9.x versions, as 2.9.1 is the first stable release. --- openssl-sys/build/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openssl-sys/build/main.rs b/openssl-sys/build/main.rs index 4fabb6edf..0b8c96dcc 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. " -- GitLab