Skip to content

Commit

Permalink
silence server_name warning
Browse files Browse the repository at this point in the history
  • Loading branch information
feschber committed Sep 30, 2024
1 parent 3cf0537 commit f8dbb2d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/connect.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ async fn connect(
conn.connect(addr).await?;
let config = Config {
certificates: vec![cert],
server_name: "ignored".to_owned(),
insecure_skip_verify: true,
extended_master_secret: ExtendedMasterSecretType::Require,
..Default::default()
Expand Down

0 comments on commit f8dbb2d

Please sign in to comment.