From 485bc5418d826b2c02537a21a29a88ee20199833 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 13 Oct 2023 09:41:28 +0000 Subject: [PATCH 1/2] build(deps): update ring requirement from 0.16 to 0.17 Updates the requirements on [ring](https://github.com/briansmith/ring) to permit the latest version. - [Commits](https://github.com/briansmith/ring/commits) --- 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 06172a5e4b..aeec0f68ea 100644 --- a/quic/s2n-quic-crypto/Cargo.toml +++ b/quic/s2n-quic-crypto/Cargo.toml @@ -25,7 +25,7 @@ zeroize = { version = "1", default-features = false, features = ["derive"] } aws-lc-rs = { version = "1.3", default-features = false, features = ["aws-lc-sys"] } [target.'cfg(not(target_os = "linux"))'.dependencies] -ring = { version = "0.16", default-features = false } +ring = { version = "0.17", default-features = false } [dev-dependencies] aes = "0.8" From 5a903deb0aebb77b969ff2e4a400bab2e9eec186 Mon Sep 17 00:00:00 2001 From: Cameron Bytheway Date: Thu, 2 Nov 2023 11:44:36 -0600 Subject: [PATCH 2/2] fix output_len call --- 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 6a72f6e513..d319580aaf 100644 --- a/quic/s2n-quic-crypto/src/cipher_suite.rs +++ b/quic/s2n-quic-crypto/src/cipher_suite.rs @@ -241,7 +241,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,