Merge pull request #7783 from storytold/fix/unused-tag-import

Keep the DER tag import where the test oracles use it
This commit is contained in:
Dylan M. Taylor authored and GitHub committed 2026-11-18 10:43:26 -05:00
commit 209c040cce
1 file changed
+4 -1
+4 -1
View File
@@ -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<String>) -> SignError {
SignError::Malformed(format!("revocation: {}", what.into()))
}