Skip to content

Commit

Permalink
Bump wtransport requirement at xwt-test-server and fix the compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
MOZGIII committed May 8, 2024
1 parent 7a71d18 commit 7c88834
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

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

4 changes: 2 additions & 2 deletions crates/xwt-test-server/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "xwt-test-server"
version = "0.4.0"
version = "0.4.1"
edition = "2021"
resolver = "2"
license = "MIT"
Expand All @@ -26,7 +26,7 @@ thiserror = "1"
tokio = { version = "1", default-features = false, features = ["rt-multi-thread"] }
tracing = "0.1"
tracing-subscriber = { version = "0.3", optional = true }
wtransport = { version = "0.1.12", default-features = false }
wtransport = { version = "0.1.13", default-features = false, features = ["self-signed"] }

[features]
bin = ["dep:color-eyre", "dep:envfury", "dep:tracing-subscriber", "tokio/macros"]
Expand Down
2 changes: 1 addition & 1 deletion crates/xwt-test-server/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ pub async fn endpoint(
)
});

match identity.certificate_chain().first() {
match identity.certificate_chain().as_ref().first() {
Some(cert) => {
let sha256_fingerpint = xwt_cert_fingerprint::Sha256::compute_for_der(cert.der());
tracing::info!(message = "using tls certificate", %sha256_fingerpint);
Expand Down

0 comments on commit 7c88834

Please sign in to comment.