Skip to content

Commit

Permalink
Fix EkuError unused warning on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
ctz committed Jun 25, 2024
1 parent 9b7208d commit 2b3bfbe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rustls-platform-verifier/src/verification/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ pub use windows::Verifier;
/// An EKU was invalid for the use case of verifying a server certificate.
///
/// This error is used primarily for tests.
#[cfg_attr(windows, allow(dead_code))] // not used by windows verifier
#[derive(Debug, PartialEq)]
pub(crate) struct EkuError;

Expand Down

0 comments on commit 2b3bfbe

Please sign in to comment.