Skip to content

Commit

Permalink
Update ring to 0.17 (#64)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jake-Shadle authored Oct 25, 2023
1 parent ab0b48c commit 187ba7e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ http = "0.2"
percent-encoding = "2.1"
pin-utils = { version = "0.1.0", optional = true }
# Keep aligned with rustls
ring = { version = "0.16", optional = true }
ring = { version = "0.17", optional = true }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
serde_urlencoded = "0.7"
Expand Down
2 changes: 0 additions & 2 deletions deny.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,9 @@ confidence-threshold = 0.92
allow = [
"Apache-2.0",
"MIT",
"BSD-3-Clause",
"ISC",
]
exceptions = [
{ allow = ["MPL-2.0"], name = "webpki-roots" },
{ allow = ["OpenSSL"], name = "ring" },
{ allow = ["Zlib"], name = "tinyvec" },
{ allow = ["Unicode-DFS-2016"], name = "unicode-ident" },
Expand Down
2 changes: 1 addition & 1 deletion src/signing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ impl Signer for RingSigner {
}
}?;

let mut signature = vec![0; key_pair.public_modulus_len()];
let mut signature = vec![0; key_pair.public().modulus_len()];
let rng = ring::rand::SystemRandom::new();

key_pair.sign(
Expand Down

0 comments on commit 187ba7e

Please sign in to comment.