Only whitelist LibreSSL 2.8.0 and 2.8.1

ABI is not declared stable for anything past 2.8.1 yet.
This commit is contained in:
Charlie Li 2018-09-27 01:46:10 -04:00
parent b6971883be
commit 72a60af503
1 changed files with 3 additions and 2 deletions

View File

@ -497,7 +497,8 @@ See rust-openssl README for more information:
(6, 2) => ('6', '2'), (6, 2) => ('6', '2'),
(6, _) => ('6', 'x'), (6, _) => ('6', 'x'),
(7, _) => ('7', 'x'), (7, _) => ('7', 'x'),
(8, _) => ('8', 'x'), (8, 0) => ('8', '0'),
(8, 1) => ('8', '1'),
_ => version_error(), _ => 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 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. due to this version mismatch.
" "