Skip to content

Commit

Permalink
Bump pem,rustls,hyper-rustls - for #1181
Browse files Browse the repository at this point in the history
Leftover dependabot PRs that needed to go together.

Signed-off-by: clux <[email protected]>
  • Loading branch information
clux committed Apr 3, 2023
1 parent b1cd5f2 commit d9c31a0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions kube-client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,17 +47,17 @@ http-body = { version = "0.4.2", optional = true }
either = { version = "1.6.1", optional = true }
thiserror = "1.0.29"
futures = { version = "0.3.17", optional = true }
pem = { version = "1.1.0", optional = true }
pem = { version = "2.0.0", optional = true }
openssl = { version = "0.10.36", optional = true }
rustls = { version = "0.20.3", features = ["dangerous_configuration"], optional = true }
rustls = { version = "0.21.0", features = ["dangerous_configuration"], optional = true }
rustls-pemfile = { version = "1.0.0", optional = true }
bytes = { version = "1.1.0", optional = true }
tokio = { version = "1.14.0", features = ["time", "signal", "sync"], optional = true }
kube-core = { path = "../kube-core", version = "=0.80.0" }
jsonpath_lib = { version = "0.3.0", optional = true }
tokio-util = { version = "0.7.0", optional = true, features = ["io", "codec"] }
hyper = { version = "0.14.13", optional = true, features = ["client", "http1", "stream", "tcp"] }
hyper-rustls = { version = "0.23.2", optional = true }
hyper-rustls = { version = "0.24.0", optional = true }
tokio-tungstenite = { version = "0.18.0", optional = true }
tower = { version = "0.4.6", optional = true, features = ["buffer", "filter", "util"] }
tower-http = { version = "0.4.0", optional = true, features = ["auth", "map-response-body", "trace"] }
Expand Down
4 changes: 2 additions & 2 deletions kube-client/src/config/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -377,8 +377,8 @@ fn certs(data: &[u8]) -> Result<Vec<Vec<u8>>, pem::PemError> {
Ok(pem::parse_many(data)?
.into_iter()
.filter_map(|p| {
if p.tag == "CERTIFICATE" {
Some(p.contents)
if p.tag() == "CERTIFICATE" {
Some(p.into_contents())
} else {
None
}
Expand Down

0 comments on commit d9c31a0

Please sign in to comment.