From 6a19c8d50102e232c7653e3b96472cc1a7fa6e80 Mon Sep 17 00:00:00 2001 From: Jiaqi Gao Date: Sun, 22 Dec 2024 20:48:53 -0500 Subject: [PATCH] crypto: upgrade rustls to 0.23.20 This version contains fix of the TLS handshake deframing issue. Signed-off-by: Jiaqi Gao --- Cargo.lock | 8 ++++---- src/crypto/Cargo.toml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index adb98cf..c85bc44 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -800,9 +800,9 @@ dependencies = [ [[package]] name = "rustls" -version = "0.23.12" +version = "0.23.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c58f8c84392efc0a126acce10fa59ff7b3d2ac06ab451a33f2741989b806b044" +checksum = "5065c3f250cbd332cd894be57c40fa52387247659b14a2d6041d121547903b1b" dependencies = [ "once_cell", "ring", @@ -814,9 +814,9 @@ dependencies = [ [[package]] name = "rustls-pki-types" -version = "1.8.0" +version = "1.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc0a2ce646f8655401bb81e7927b812614bd5d91dbc968696be50603510fcaf0" +checksum = "d2bf47e6ff922db3825eb750c4e2ff784c6ff8fb9e13046ef6a1d1c5401b0b37" [[package]] name = "rustls-webpki" diff --git a/src/crypto/Cargo.toml b/src/crypto/Cargo.toml index 16afc03..9f58c5b 100644 --- a/src/crypto/Cargo.toml +++ b/src/crypto/Cargo.toml @@ -9,7 +9,7 @@ cfg-if = "1.0" der = {version = "0.7.9", features = ["oid", "alloc", "derive"]} pki-types = { package = "rustls-pki-types", version = "1" } rust_std_stub = { path = "../std-support/rust-std-stub" } -rustls = { version = "=0.23.12", default-features = false, features = ["ring" ], optional = true } +rustls = { version = "0.23.20", default-features = false, features = ["ring" ], optional = true } ring = { path = "../../deps/td-shim/library/ring", default-features = false, features = ["alloc", "less-safe-getrandom-custom-or-rdrand"], optional = true } sys_time = { path = "../std-support/sys_time" } zeroize = "1.5.7"