summaryrefslogtreecommitdiff
path: root/lang/rust/files/patch-vendor_openssl_src_version.rs
blob: 2d92dd6d6ab777880a3e7ab3c6fd404e2049c539 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- vendor/openssl/src/version.rs.orig	2019-05-13 21:50:34 UTC
+++ vendor/openssl/src/version.rs
@@ -14,7 +14,7 @@
 use std::ffi::CStr;
 
 cfg_if! {
-    if #[cfg(ossl110)] {
+    if #[cfg(any(ossl110, libressl271))] {
         use ffi::{
             OPENSSL_VERSION, OPENSSL_CFLAGS, OPENSSL_BUILT_ON, OPENSSL_PLATFORM, OPENSSL_DIR,
             OpenSSL_version_num, OpenSSL_version,