Fix cargo clippy issue
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Pierre HUBERT 2024-01-17 19:53:13 +01:00
parent e534deefae
commit 8bc3518a2d

View File

@ -74,7 +74,7 @@ async fn relay_connection(ws_url: String, socket: TcpStream, conf: Arc<ClientCon
.expect("Failed to parse client auth private key!"); .expect("Failed to parse client auth private key!");
config config
.with_single_cert(certs, key) .with_client_auth_cert(certs, key)
.expect("Failed to set client certificate!") .expect("Failed to set client certificate!")
} }
}; };