diff options
| author | David Weinstein <[email protected]> | 2016-08-17 00:10:41 -0400 |
|---|---|---|
| committer | David Weinstein <[email protected]> | 2016-08-17 01:23:54 -0400 |
| commit | 7a653282a9132b6110554afb7a50938a602059b0 (patch) | |
| tree | b102c7dd4590254aa0831bac1f62e32f8ccb625b /openssl/src/x509 | |
| parent | Be explicit regarding Asn1TimeRef lifetimes (diff) | |
| download | rust-openssl-7a653282a9132b6110554afb7a50938a602059b0.tar.xz rust-openssl-7a653282a9132b6110554afb7a50938a602059b0.zip | |
Get rid of use Asn1TimeRef warning for some builds
Diffstat (limited to 'openssl/src/x509')
| -rw-r--r-- | openssl/src/x509/mod.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/openssl/src/x509/mod.rs b/openssl/src/x509/mod.rs index 31a6cae8..1319b75c 100644 --- a/openssl/src/x509/mod.rs +++ b/openssl/src/x509/mod.rs @@ -10,7 +10,10 @@ use std::collections::HashMap; use std::marker::PhantomData; use HashTypeInternals; -use asn1::{Asn1Time, Asn1TimeRef}; +use asn1::Asn1Time; +#[cfg(feature = "x509_expiry")] +use asn1::Asn1TimeRef; + use bio::{MemBio, MemBioSlice}; use crypto::hash; use crypto::hash::Type as HashType; |