diff --git a/Cargo.lock b/Cargo.lock index 41ca916efe79..760eac97bb46 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2290,7 +2290,7 @@ dependencies = [ "wasm-bindgen", "wasm-bindgen-futures", "web-sys", - "webpki-roots", + "webpki-roots 0.25.3", "winreg", ] @@ -2460,6 +2460,12 @@ dependencies = [ "base64", ] +[[package]] +name = "rustls-pki-types" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eb0a1f9b9efec70d32e6d6aa3e58ebd88c3754ec98dfe9145c63cf54cc829b83" + [[package]] name = "rustls-webpki" version = "0.101.7" @@ -2793,7 +2799,7 @@ dependencies = [ "tokio-native-tls", "tokio-rustls", "tun", - "webpki-roots", + "webpki-roots 0.26.0", "windows-sys 0.52.0", ] @@ -3435,6 +3441,15 @@ version = "0.25.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1778a42e8b3b90bff8d0f5032bf22250792889a5cdc752aa0020c84abe3aaf10" +[[package]] +name = "webpki-roots" +version = "0.26.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0de2cfda980f21be5a7ed2eadb3e6fe074d56022bea2cdeb1a62eb220fc04188" +dependencies = [ + "rustls-pki-types", +] + [[package]] name = "widestring" version = "1.0.2" diff --git a/crates/shadowsocks-service/Cargo.toml b/crates/shadowsocks-service/Cargo.toml index 91813a352e75..b56b5ca06b7f 100644 --- a/crates/shadowsocks-service/Cargo.toml +++ b/crates/shadowsocks-service/Cargo.toml @@ -137,7 +137,7 @@ tokio = { version = "1.5", features = [ tokio-native-tls = { version = "0.3", optional = true } native-tls = { version = "0.2.8", optional = true, features = ["alpn"] } tokio-rustls = { version = "0.24", optional = true } -webpki-roots = { version = "0.25", optional = true } +webpki-roots = { version = "0.26", optional = true } rustls-native-certs = { version = "0.6.3", optional = true } async-trait = "0.1"