From af4488357c9b3e003b883e89c16aaa675ad0c6ac Mon Sep 17 00:00:00 2001 From: Laurence Tratt Date: Mon, 3 Dec 2018 17:33:53 +0000 Subject: [PATCH] Explicitly support LibreSSL 2.9.0. --- .circleci/config.yml | 7 +++++++ openssl-sys/build/main.rs | 3 ++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 7a8d4e5f..f1535159 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -109,6 +109,9 @@ libressl_250: &LIBRESSL_250 libressl_28x: &LIBRESSL_28x LIBRARY: libressl VERSION: 2.8.2 +libressl_290: &LIBRESSL_290 + LIBRARY: libressl + VERSION: 2.9.0 x86_64: &X86_64 TARGET: x86_64-unknown-linux-gnu @@ -197,6 +200,10 @@ jobs: <<: *JOB environment: <<: [*LIBRESSL_28x, *X86_64, *BASE] + x86_64-libressl-2.9.0: + <<: *JOB + environment: + <<: [*LIBRESSL_290, *X86_64, *BASE] macos: <<: *MACOS_JOB environment: diff --git a/openssl-sys/build/main.rs b/openssl-sys/build/main.rs index 3582ba92..69def400 100644 --- a/openssl-sys/build/main.rs +++ b/openssl-sys/build/main.rs @@ -504,6 +504,7 @@ See rust-openssl README for more information: (8, 0) => ('8', '0'), (8, 1) => ('8', '1'), (8, _) => ('8', 'x'), + (9, 0) => ('9', '0'), _ => version_error(), }; @@ -544,7 +545,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.1, but a different version of OpenSSL was found. The build is now aborting +through 2.9.0, but a different version of OpenSSL was found. The build is now aborting due to this version mismatch. "