From e2b51a8705def5e773bf739af32692bacf8151ef Mon Sep 17 00:00:00 2001 From: Charlie Li Date: Thu, 3 Oct 2019 09:21:11 -0400 Subject: [PATCH] Support LibreSSL 3.0.1 --- .circleci/config.yml | 4 ++-- openssl-sys/build/main.rs | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index e47fe48f..ce6ff77d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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: diff --git a/openssl-sys/build/main.rs b/openssl-sys/build/main.rs index 773d02b5..c265195e 100644 --- a/openssl-sys/build/main.rs +++ b/openssl-sys/build/main.rs @@ -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. "