aboutsummaryrefslogtreecommitdiff
path: root/openssl-sys/src
diff options
context:
space:
mode:
authorSteven Fackler <[email protected]>2017-01-22 18:39:34 +0000
committerGitHub <[email protected]>2017-01-22 18:39:34 +0000
commit722bdb6a4c6d84657f5b67db86c201821fe5e0b9 (patch)
treedc1d61cff415f507c27478ad578b43e4573101f8 /openssl-sys/src
parentMerge pull request #562 from sfackler/named-curve (diff)
parentlibressl: make set_ecdh_auto available (diff)
downloadrust-openssl-722bdb6a4c6d84657f5b67db86c201821fe5e0b9.tar.xz
rust-openssl-722bdb6a4c6d84657f5b67db86c201821fe5e0b9.zip
Merge pull request #550 from Keruspe/master
LibreSSL support improvements
Diffstat (limited to 'openssl-sys/src')
-rw-r--r--openssl-sys/src/lib.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/openssl-sys/src/lib.rs b/openssl-sys/src/lib.rs
index 970539d7..34bdb9e0 100644
--- a/openssl-sys/src/lib.rs
+++ b/openssl-sys/src/lib.rs
@@ -1266,15 +1266,15 @@ pub const X509_V_ERR_UNSUPPORTED_EXTENSION_FEATURE: c_int = 45;
pub const X509_V_ERR_UNSUPPORTED_NAME_SYNTAX: c_int = 53;
pub const X509_V_OK: c_int = 0;
-#[cfg(not(ossl101))]
+#[cfg(not(any(ossl101, libressl)))]
pub const X509_CHECK_FLAG_ALWAYS_CHECK_SUBJECT: c_uint = 0x1;
-#[cfg(not(ossl101))]
+#[cfg(not(any(ossl101, libressl)))]
pub const X509_CHECK_FLAG_NO_WILDCARDS: c_uint = 0x2;
-#[cfg(not(ossl101))]
+#[cfg(not(any(ossl101, libressl)))]
pub const X509_CHECK_FLAG_NO_PARTIAL_WILDCARDS: c_uint = 0x4;
-#[cfg(not(ossl101))]
+#[cfg(not(any(ossl101, libressl)))]
pub const X509_CHECK_FLAG_MULTI_LABEL_WILDCARDS: c_uint = 0x8;
-#[cfg(not(ossl101))]
+#[cfg(not(any(ossl101, libressl)))]
pub const X509_CHECK_FLAG_SINGLE_LABEL_SUBDOMAINS: c_uint = 0x10;
pub const GEN_OTHERNAME: c_int = 0;