Get rid of use Asn1TimeRef warning for some builds

This commit is contained in:
David Weinstein 2016-08-17 00:10:41 -04:00
parent 06f19cf285
commit 7a653282a9
1 changed files with 4 additions and 1 deletions

View File

@ -10,7 +10,10 @@ use std::collections::HashMap;
use std::marker::PhantomData; use std::marker::PhantomData;
use HashTypeInternals; use HashTypeInternals;
use asn1::{Asn1Time, Asn1TimeRef}; use asn1::Asn1Time;
#[cfg(feature = "x509_expiry")]
use asn1::Asn1TimeRef;
use bio::{MemBio, MemBioSlice}; use bio::{MemBio, MemBioSlice};
use crypto::hash; use crypto::hash;
use crypto::hash::Type as HashType; use crypto::hash::Type as HashType;