From 2cf294f8ff1cf71c80a57e54ed98970fe49fcbe7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 27 Aug 2024 20:48:24 +0000 Subject: [PATCH 1/2] build(deps): update ring requirement from 0.16 to 0.17 --- updated-dependencies: - dependency-name: ring dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- quic/s2n-quic-crypto/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quic/s2n-quic-crypto/Cargo.toml b/quic/s2n-quic-crypto/Cargo.toml index 9950a90d9c..6552309e77 100644 --- a/quic/s2n-quic-crypto/Cargo.toml +++ b/quic/s2n-quic-crypto/Cargo.toml @@ -27,7 +27,7 @@ zeroize = { version = "1", default-features = false, features = ["derive"] } aws-lc-rs = { version = "1.6" } [target.'cfg(target_os = "windows")'.dependencies] -ring = { version = "0.16", default-features = false } +ring = { version = "0.17", default-features = false } [dev-dependencies] hex-literal = "0.4" From ae1fd1c57d1d1d921dad9fa243321e224a919f93 Mon Sep 17 00:00:00 2001 From: Cameron Bytheway Date: Tue, 27 Aug 2024 14:56:21 -0600 Subject: [PATCH 2/2] fix output_len usage --- quic/s2n-quic-crypto/src/cipher_suite.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quic/s2n-quic-crypto/src/cipher_suite.rs b/quic/s2n-quic-crypto/src/cipher_suite.rs index af4bbc8392..ba092eed91 100644 --- a/quic/s2n-quic-crypto/src/cipher_suite.rs +++ b/quic/s2n-quic-crypto/src/cipher_suite.rs @@ -228,7 +228,7 @@ macro_rules! impl_cipher_suite { assert_eq!( compute_vec_label( - $digest.hmac_algorithm().digest_algorithm().output_len, + $digest.hmac_algorithm().digest_algorithm().output_len(), b"quic ku" ), $key_update_label,