We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb2c1d7 commit 26908a8Copy full SHA for 26908a8
rustls-platform-verifier/src/tests/verification_mock/mod.rs
@@ -211,13 +211,13 @@ fn test_selfsigned_cert_with_extra_roots() {
211
verification_time(),
212
);
213
214
- #[cfg(target_vendor = "apple")]
+ #[cfg(any(target_vendor = "apple", target_os = "windows"))]
215
assert!(
216
result.is_err(),
217
"self-signed leaf certificate with long validity period is accepted unexpectly"
218
219
220
- #[cfg(not(target_vendor = "apple"))]
+ #[cfg(not(any(target_vendor = "apple", target_os = "windows")))]
221
222
result.is_ok(),
223
"failed to validate self-signed leaf certificate with long validity period"
0 commit comments