Skip to content
Snippets Groups Projects
Commit a3b3ad16 authored by Charlie Li's avatar Charlie Li
Browse files

Add cfgs for LibreSSL 3.3.2

parent ef515d7c
Branches
Tags
No related merge requests found
......@@ -31,6 +31,9 @@ pub fn get(openssl_version: Option<u64>, libressl_version: Option<u64>) -> Vec<&
if libressl_version >= 0x3_02_01_00_0 {
cfgs.push("libressl321");
}
if libressl_version >= 0x3_03_02_00_0 {
cfgs.push("libressl332");
}
} else {
let openssl_version = openssl_version.unwrap();
......
......@@ -67,5 +67,9 @@ fn main() {
if version >= 0x3_02_01_00_0 {
println!("cargo:rustc-cfg=libressl321");
}
if version >= 0x3_03_02_00_0 {
println!("cargo:rustc-cfg=libressl332");
}
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment