Make it actually compile
This commit is contained in:
parent
a1bc689504
commit
f55674b522
1 changed files with 1 additions and 1 deletions
|
|
@ -9,7 +9,7 @@ use std::net::TcpStream;
|
|||
fn tls() -> native_tls::TlsConnector {
|
||||
native_tls::TlsConnector::builder()
|
||||
.danger_accept_invalid_certs(true)
|
||||
.danger_accept_invalid_hostnames((true)
|
||||
.danger_accept_invalid_hostnames(true)
|
||||
.build()
|
||||
.unwrap()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue