Skip to content

Commit

Permalink
Enable botan tests on windows again
Browse files Browse the repository at this point in the history
Revert of d3ab04a
  • Loading branch information
est31 authored and cpu committed Sep 9, 2023
1 parent 2a8d580 commit 12397c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,10 @@ features = ["x509-parser"]
openssl = "0.10"
x509-parser = { version = "0.15", features = ["verify"] }
rustls-webpki = { version = "0.101.0", features = ["std"] }
botan = { version = "0.10", features = ["vendored"] }
rand = "0.8"
rsa = "0.9"

[target.'cfg(not(windows))'.dev-dependencies]
botan = { version = "0.10", features = ["vendored"] }


# This greatly speeds up rsa key generation times
# (only applies to the dev-dependency because cargo
# ignores profile overrides for non leaf packages)
Expand Down
2 changes: 1 addition & 1 deletion tests/botan.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#![cfg(all(feature = "x509-parser", not(windows)))]
#![cfg(feature = "x509-parser")]

use rcgen::DnValue;
use rcgen::{BasicConstraints, Certificate, CertificateParams, DnType, IsCa};
Expand Down

0 comments on commit 12397c2

Please sign in to comment.