Fix typo: "patform" -> "platform" (#332)

This commit is contained in:
trevyn
2021-02-22 22:34:46 +04:00
committed by GitHub
parent b80f12e384
commit 1e5307cbca

View File

@@ -317,7 +317,7 @@ pub(crate) fn connect_http(unit: &Unit, hostname: &str) -> Result<Stream, Error>
#[cfg(all(feature = "tls", feature = "native-certs"))]
fn configure_certs(config: &mut rustls::ClientConfig) {
config.root_store =
rustls_native_certs::load_native_certs().expect("Could not load patform certs");
rustls_native_certs::load_native_certs().expect("Could not load platform certs");
}
#[cfg(all(feature = "tls", not(feature = "native-certs")))]