Skip to content

Commit a8bb62b

Browse files
authored
Merge branch 'master' into fips
2 parents 1f3ca51 + 6bf26a1 commit a8bb62b

File tree

2 files changed

+0
-11
lines changed

2 files changed

+0
-11
lines changed

Cargo.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ rust-version = "1.76"
1818
default = []
1919
tls = ["rustls", "rustls-pemfile", "futures-rustls"]
2020
fips = ["rustls/fips"]
21-
tls-mozilla-roots = ["tls", "webpki-roots"]
2221
sasl = ["sasl-gssapi", "sasl-digest-md5"]
2322
sasl-digest-md5 = ["rsasl/unstable_custom_mechanism", "md5", "linkme", "hex"]
2423
sasl-gssapi = ["rsasl/gssapi"]
@@ -41,7 +40,6 @@ either = "1.9.0"
4140
uuid = { version = "1.4.1", features = ["v4"] }
4241
rustls = { version = "0.23.2", optional = true }
4342
rustls-pemfile = { version = "2", optional = true }
44-
webpki-roots = { version = "1.0.1", optional = true }
4543
derive-where = "1.2.7"
4644
fastrand = "2.0.2"
4745
tracing = "0.1.40"

src/tls.rs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -107,15 +107,6 @@ impl TlsOptions {
107107
Self { ca_certs: RootCertStore::empty(), identity: None, hostname_verification: true }
108108
}
109109

110-
/// Trusts root certificates trusted by Mozilla.
111-
///
112-
/// See [webpki-roots](https://docs.rs/webpki-roots) for more.
113-
#[cfg(feature = "tls-mozilla-roots")]
114-
pub fn with_mozilla_roots(mut self) -> Self {
115-
self.ca_certs.extend(webpki_roots::TLS_SERVER_ROOTS.iter().cloned());
116-
self
117-
}
118-
119110
/// Disables hostname verification in tls handshake.
120111
///
121112
/// # Safety

0 commit comments

Comments
 (0)