diff --git a/core/lib/Cargo.toml b/core/lib/Cargo.toml index c09efb119d..b81da1008f 100644 --- a/core/lib/Cargo.toml +++ b/core/lib/Cargo.toml @@ -50,8 +50,8 @@ rmp-serde = { version = "1", optional = true } uuid_ = { package = "uuid", version = "1", optional = true, features = ["serde"] } # Optional TLS dependencies -rustls = { version = "0.22", optional = true } -tokio-rustls = { version = "0.25", optional = true } +rustls = { version = "0.23", optional = true } +tokio-rustls = { version = "0.26", optional = true } rustls-pemfile = { version = "2.0.0", optional = true } # Optional MTLS dependencies diff --git a/core/lib/src/tls/util.rs b/core/lib/src/tls/util.rs index c07135adc7..10e6599c5c 100644 --- a/core/lib/src/tls/util.rs +++ b/core/lib/src/tls/util.rs @@ -33,7 +33,7 @@ pub fn load_key(reader: &mut dyn io::BufRead) -> Result> // Ensure we can use the key. let key = keys.remove(0); - rustls::crypto::ring::sign::any_supported_type(&key).map_err(KeyError::Unsupported)?; + rustls::crypto::aws_lc_rs::sign::any_supported_type(&key).map_err(KeyError::Unsupported)?; Ok(key) }