Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: snapview/tokio-tungstenite
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: ab5d3389205be810c9cd9332eed072f9232506ab
Choose a base ref
..
head repository: snapview/tokio-tungstenite
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 91e9b18ff34124b00487f4c02dfed369ae14ce29
Choose a head ref
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/tls.rs
4 changes: 2 additions & 2 deletions src/tls.rs
Original file line number Diff line number Diff line change
@@ -106,8 +106,8 @@ mod encryption {
}

// Not finding any native root CA certificates is not fatal if the
// "rustls-tls-native-roots" feature is enabled.
#[cfg(not(feature = "rustls-tls-native-roots"))]
// "rustls-tls-webpki-roots" feature is enabled.
#[cfg(not(feature = "rustls-tls-webpki-roots"))]
if certs.is_empty() {
return Err(std::io::Error::new(std::io::ErrorKind, format!("no native root CA certificates found (errors: {errors:?})")).into());
}