diff options
| author | Steven Fackler <[email protected]> | 2018-02-14 22:04:29 -0800 |
|---|---|---|
| committer | Steven Fackler <[email protected]> | 2018-02-14 22:11:24 -0800 |
| commit | f4ddd66b0314fa6d5f8eda9d1a13167612376c81 (patch) | |
| tree | 7fae739c5340afb3ce177f782f8b9c5c8c104283 /openssl/src/x509 | |
| parent | Set ossl110 when version is 1.1.1 (diff) | |
| download | rust-openssl-f4ddd66b0314fa6d5f8eda9d1a13167612376c81.tar.xz rust-openssl-f4ddd66b0314fa6d5f8eda9d1a13167612376c81.zip | |
Tweak features
We should keep the version features totally separate for now.
Diffstat (limited to 'openssl/src/x509')
| -rw-r--r-- | openssl/src/x509/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openssl/src/x509/mod.rs b/openssl/src/x509/mod.rs index f3a8b8e6..a4bbb5f0 100644 --- a/openssl/src/x509/mod.rs +++ b/openssl/src/x509/mod.rs @@ -73,7 +73,8 @@ use ffi::{ASN1_STRING_get0_data as ASN1_STRING_data, X509_STORE_CTX_get0_chain as X509_STORE_CTX_get_chain, X509_set1_notAfter as X509_set_notAfter, X509_set1_notBefore as X509_set_notBefore}; -#[cfg(any(all(feature = "v102", ossl102), all(feature = "v110", ossl110)))] +#[cfg(any(all(feature = "v102", ossl102), all(feature = "v110", ossl110), + all(feature = "v111", ossl111)))] pub mod verify; pub mod extension; @@ -1090,7 +1091,6 @@ foreign_type_and_impl_send_sync! { } impl GeneralNameRef { - fn ia5_string(&self, ffi_type: c_int) -> Option<&str> { unsafe { if (*self.as_ptr()).type_ != ffi_type { |