From 72a60af5039a902da6cb634d345c61f7fafe2b0b Mon Sep 17 00:00:00 2001 From: Charlie Li Date: Thu, 27 Sep 2018 01:46:10 -0400 Subject: [PATCH] Only whitelist LibreSSL 2.8.0 and 2.8.1 ABI is not declared stable for anything past 2.8.1 yet. --- openssl-sys/build/main.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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. "