mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-04-02 18:55:32 +00:00
aquatic_http, aquatic_common_tcp: fix some clippy warnings
This commit is contained in:
parent
8269ae2994
commit
b65297195a
5 changed files with 8 additions and 11 deletions
|
|
@ -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")?;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue