From c9c4eb94e8435114f873df881e64d9fbbb4ec28c Mon Sep 17 00:00:00 2001 From: "Dylan M. Taylor" Date: Wed, 18 Nov 2026 10:43:09 -0500 Subject: [PATCH] Keep the DER tag import where the test oracles use it --- crates/sign/src/revocation.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/crates/sign/src/revocation.rs b/crates/sign/src/revocation.rs index 085170a1b3..9638c021cd 100644 --- a/crates/sign/src/revocation.rs +++ b/crates/sign/src/revocation.rs @@ -2,7 +2,9 @@ //! status lookup for evidence embedded in a DSS or supplied by the caller. Never fetches: //! the transport and the choice of evidence stay with the caller. -use crate::der::{Tlv, tag}; +use crate::der::Tlv; +#[cfg(test)] +use crate::der::tag; use crate::keys::{self, DigestAlg, PublicKey}; use crate::x509::Certificate; use crate::{SignError, Time}; @@ -26,6 +28,7 @@ pub enum RevocationStatus { Unknown, } +#[cfg(test)] fn bad(what: impl Into) -> SignError { SignError::Malformed(format!("revocation: {}", what.into())) }