Skip to content

Commit 5462d83

Browse files
committed
deps: Cargo.lock rustls v0.21.0 -> v0.21.6.
Additionally resolves a warning from the use of the deprecated `add_server_trust_anchors` fn.
1 parent 97bf3e7 commit 5462d83

File tree

2 files changed

+5
-15
lines changed

2 files changed

+5
-15
lines changed

Cargo.lock

Lines changed: 4 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/verification/others.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ fn map_webpki_errors(err: TlsError) -> TlsError {
156156
fn load_webpki_roots(store: &mut RootCertStore) {
157157
use rustls::OwnedTrustAnchor;
158158

159-
store.add_server_trust_anchors(webpki_roots::TLS_SERVER_ROOTS.iter().map(|root| {
159+
store.add_trust_anchors(webpki_roots::TLS_SERVER_ROOTS.iter().map(|root| {
160160
OwnedTrustAnchor::from_subject_spki_name_constraints(
161161
root.subject,
162162
root.spki,

0 commit comments

Comments
 (0)