Skip to content

Commit

Permalink
Merge pull request #361 from flavio/remove-unused-code-and-fix-linter
Browse files Browse the repository at this point in the history
fix linter warning
  • Loading branch information
viccuad authored May 10, 2024
2 parents f6dea01 + a908d91 commit 61f93cf
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/bundle/verify/policy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -237,15 +237,6 @@ impl VerificationPolicy for AllOf<'_> {
}
}

pub(crate) struct UnsafeNoOp;

impl VerificationPolicy for UnsafeNoOp {
fn verify(&self, _cert: &x509_cert::Certificate) -> PolicyResult {
warn!("unsafe (no-op) verification policy used! no verification performed!");
Ok(())
}
}

/// Verifies the certificate's "identity", corresponding to the X.509v3 SAN.
/// Identities are verified modulo an OIDC issuer, so the issuer's URI
/// is also required.
Expand Down

0 comments on commit 61f93cf

Please sign in to comment.