Skip to content

Commit

Permalink
deps: update ring to 0.17.8
Browse files Browse the repository at this point in the history
deps: update ring to 0.17.8 and move it to a workspace dependency
`quic`'s `ring` dependency will be upgraded in its own PR as it also needs `quinn` to be upgraded

Pull-Request: #5382.
  • Loading branch information
jxs authored May 13, 2024
1 parent 5f04bad commit 65ffb8e
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 14 deletions.
23 changes: 12 additions & 11 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ unsigned-varint = { version = "0.8.0" }
tokio = { version = "1.37", default-features = false }
tracing = "0.1.37"
futures = "0.3.30"
ring = "0.17.8"

[patch.crates-io]

Expand Down
4 changes: 2 additions & 2 deletions identity/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ hkdf = { version = "0.12.4", optional = true }
libsecp256k1 = { version = "0.7.0", optional = true }
tracing = { workspace = true }
multihash = { version = "0.19.1", optional = true }
p256 = { version = "0.13", default-features = false, features = [ "ecdsa", "std", "pem"], optional = true }
p256 = { version = "0.13", default-features = false, features = ["ecdsa", "std", "pem"], optional = true }
quick-protobuf = "0.8.1"
rand = { version = "0.8", optional = true }
sec1 = { version = "0.7", default-features = false, optional = true }
Expand All @@ -30,7 +30,7 @@ void = { version = "1.0", optional = true }
zeroize = { version = "1.7", optional = true }

[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
ring = { version = "0.17.5", features = [ "alloc", "std"], default-features = false, optional = true }
ring = { workspace = true, features = ["alloc", "std"], optional = true }

[features]
secp256k1 = ["dep:libsecp256k1", "dep:asn1_der", "dep:sha2", "dep:hkdf", "dep:zeroize"]
Expand Down
2 changes: 1 addition & 1 deletion transports/tls/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ futures-rustls = "0.24.0"
libp2p-core = { workspace = true }
libp2p-identity = { workspace = true }
rcgen = "0.11.3"
ring = "0.16.20"
ring = { workspace = true }
thiserror = "1.0.59"
webpki = { version = "0.101.4", package = "rustls-webpki", features = ["std"] }
x509-parser = "0.16.0"
Expand Down

0 comments on commit 65ffb8e

Please sign in to comment.