aquatic_http, aquatic_common_tcp: fix some clippy warnings

This commit is contained in:
Joakim Frostegård 2020-07-05 20:22:03 +02:00
parent 8269ae2994
commit b65297195a
5 changed files with 8 additions and 11 deletions

View file

@ -22,7 +22,7 @@ pub fn create_tls_acceptor(
.context("Couldn't read pkcs12 identity file")?;
let identity = Identity::from_pkcs12(
&mut identity_bytes,
&identity_bytes[..],
&config.tls_pkcs12_password
).context("Couldn't parse pkcs12 identity file")?;