aboutsummaryrefslogtreecommitdiff
path: root/openssl/build.rs
diff options
context:
space:
mode:
authorSteven Fackler <[email protected]>2018-06-09 21:33:35 -0700
committerSteven Fackler <[email protected]>2018-06-09 21:49:36 -0700
commit115cb730b0ec9a2010d7a803586a7fcce214cb83 (patch)
treea9559c3a76b3b8e1ce43f065eb571eb48e742d0e /openssl/build.rs
parentMerge pull request #936 from sfackler/windows-static (diff)
downloadarchived-rust-openssl-115cb730b0ec9a2010d7a803586a7fcce214cb83.tar.xz
archived-rust-openssl-115cb730b0ec9a2010d7a803586a7fcce214cb83.zip
Switch to accessors in libressl where possible
Some accessors are mysteriously still macros so we can't make everything opaque yet, unfortunately. cc #909
Diffstat (limited to 'openssl/build.rs')
-rw-r--r--openssl/build.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/openssl/build.rs b/openssl/build.rs
index 5a5b86f2..f1166d62 100644
--- a/openssl/build.rs
+++ b/openssl/build.rs
@@ -45,5 +45,9 @@ fn main() {
if version >= 0x2_07_00_00_0 {
println!("cargo:rustc-cfg=libressl270");
}
+
+ if version >= 0x2_07_03_00_0 {
+ println!("cargo:rustc-cfg=libressl273");
+ }
}
}