From 7a653282a9132b6110554afb7a50938a602059b0 Mon Sep 17 00:00:00 2001 From: David Weinstein Date: Wed, 17 Aug 2016 00:10:41 -0400 Subject: [PATCH] Get rid of use Asn1TimeRef warning for some builds --- openssl/src/x509/mod.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/openssl/src/x509/mod.rs b/openssl/src/x509/mod.rs index 31a6cae89..1319b75c7 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; -- GitLab