diff options
| author | Tatsuyuki Ishi <[email protected]> | 2018-09-25 16:17:12 +0900 |
|---|---|---|
| committer | Tatsuyuki Ishi <[email protected]> | 2018-09-25 22:00:20 +0900 |
| commit | 3b73dda4b31c2b8ea8417fb6d68e451d2e4b3633 (patch) | |
| tree | 82bdb5ed14597ed275a4a7459e170872edde34b5 /openssl/src/x509/mod.rs | |
| parent | Raise requirement to 1.21.0 (diff) | |
| download | rust-openssl-0.9.x.tar.xz rust-openssl-0.9.x.zip | |
Add support for OpenSSL 1.1.10.9.x
Diffstat (limited to 'openssl/src/x509/mod.rs')
| -rw-r--r-- | openssl/src/x509/mod.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/openssl/src/x509/mod.rs b/openssl/src/x509/mod.rs index dff65222..16c80ed8 100644 --- a/openssl/src/x509/mod.rs +++ b/openssl/src/x509/mod.rs @@ -28,12 +28,12 @@ use ssl::SslRef; #[cfg(ossl10x)] use ffi::{X509_set_notBefore, X509_set_notAfter, ASN1_STRING_data, X509_STORE_CTX_get_chain}; -#[cfg(ossl110)] +#[cfg(ossl11x)] use ffi::{X509_set1_notBefore as X509_set_notBefore, X509_set1_notAfter as X509_set_notAfter, ASN1_STRING_get0_data as ASN1_STRING_data, X509_STORE_CTX_get0_chain as X509_STORE_CTX_get_chain}; -#[cfg(any(all(feature = "v102", ossl102), all(feature = "v110", ossl110)))] +#[cfg(any(all(feature = "v102", ossl102), all(feature = "v110", ossl11x)))] pub mod verify; use x509::extension::{ExtensionType, Extension}; @@ -1142,7 +1142,7 @@ impl X509AlgorithmRef { } } -#[cfg(ossl110)] +#[cfg(ossl11x)] mod compat { pub use ffi::X509_getm_notAfter as X509_get_notAfter; pub use ffi::X509_getm_notBefore as X509_get_notBefore; |