Fix formatting

This commit is contained in:
2021-05-19 21:56:54 +02:00
parent 29f9853cb0
commit 813660c022

View File

@ -100,10 +100,7 @@ fn main() {
.set_certificate_chain_file("/home/lorenz/Certificates/chakotay.pem")
.unwrap();
acceptor
.set_private_key_file(
"/home/lorenz/Certificates/priv/chakotay.key",
SslFiletype::PEM,
)
.set_private_key_file("/home/lorenz/Certificates/priv/chakotay.key",SslFiletype::PEM)
.unwrap();
acceptor.check_private_key().unwrap();
let acceptor = Arc::new(acceptor.build());