Skip to content

Commit

Permalink
Vesion 0.19.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Bernier St-Pierre committed Apr 23, 2022
1 parent 7179914 commit 67ff381
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ authors = ["Simon Bernier St-Pierre <git@sbstp.ca>"]
edition = "2018"
license = "MPL-2.0"
name = "attohttpc"
version = "0.19.0"
version = "0.19.1"

categories = ["network-programming", "web-programming", "web-programming::http-client"]
description = "Small and lightweight HTTP client"
Expand Down
4 changes: 1 addition & 3 deletions src/tls/no_tls_impl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@ impl TlsHandshaker {

pub fn danger_accept_invalid_hostnames(&mut self, _accept_invalid_hostnames: bool) {}

pub fn add_root_certificate(&mut self, _cert: Certificate) -> Result<()> {
Ok(())
}
pub fn add_root_certificate(&mut self, _cert: Certificate) {}

pub fn handshake<S>(&self, _domain: &str, _stream: S) -> Result<TlsStream<S>>
where
Expand Down

0 comments on commit 67ff381

Please sign in to comment.