Support LibreSSL 3.0.1

This commit is contained in:
Charlie Li 2019-10-03 09:21:11 -04:00
parent bb3e0f474b
commit e2b51a8705
2 changed files with 4 additions and 3 deletions

View File

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

View File

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