Support LibreSSL 3.0.2

3.0.2 is the first stable release, so support the rest of the series.
This commit is contained in:
Charlie Li 2019-10-19 09:56:56 -04:00
parent ff14649daf
commit f66c860fce
2 changed files with 4 additions and 3 deletions

View File

@ -292,10 +292,10 @@ workflows:
library: libressl library: libressl
version: 2.5.5 version: 2.5.5
- linux: - linux:
name: x86_64-libressl-3.0.1 name: x86_64-libressl-3.0.2
target: x86_64-unknown-linux-gnu target: x86_64-unknown-linux-gnu
library: libressl library: libressl
version: 3.0.1 version: 3.0.2
- macos: - macos:
name: macos name: macos
- macos: - macos:

View File

@ -203,6 +203,7 @@ See rust-openssl README for more information:
(2, 9, _) => ('2', '9', 'x'), (2, 9, _) => ('2', '9', 'x'),
(3, 0, 0) => ('3', '0', '0'), (3, 0, 0) => ('3', '0', '0'),
(3, 0, 1) => ('3', '0', '1'), (3, 0, 1) => ('3', '0', '1'),
(3, 0, _) => ('3', '0', 'x'),
_ => version_error(), _ => version_error(),
}; };
@ -243,7 +244,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 3.0.1, but a different version of OpenSSL was found. The build is now aborting through 3.0.x, but a different version of OpenSSL was found. The build is now aborting
due to this version mismatch. due to this version mismatch.
" "