Skip to content

Commit

Permalink
Switch to native TLS stack (work-around for pyocd#121)
Browse files Browse the repository at this point in the history
  • Loading branch information
mathias-arm committed Jul 14, 2020
1 parent 3aa44e3 commit c67c6aa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rust/cmsis-pack/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ futures = "0.1.29"
log = "0.4.8"
minidom = "^0.12.0"
quick-xml = "0.17.2"
reqwest = { version = "0.9.24", default_features = false, features = ["rustls-tls"] }
reqwest = { version = "0.9.24", default_features = false, features = ["default-tls", "trust-dns"] }
rustc-demangle = "0.1.16"
serde = "^1.0.89"
serde_derive = "^1.0.89"
Expand Down
2 changes: 1 addition & 1 deletion rust/cmsis-pack/src/update/download.rs
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ where
{
pub fn new(config: &'a Conf, prog: Prog) -> Result<Self, Error> {
let client = ClientBuilder::new()
.use_rustls_tls()
.use_default_tls()
.use_sys_proxy()
.redirect(RedirectPolicy::limited(5))
.build()?;
Expand Down

0 comments on commit c67c6aa

Please sign in to comment.