Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
oteffahi committed Oct 25, 2024
1 parent a89a662 commit 716f7ae
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions io/zenoh-link-commons/src/tls.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
use crate::LinkUnicastTrait;
use alloc::vec::Vec;
use std::{collections::BTreeMap, sync::Weak};

use rustls::{
client::{
danger::{ServerCertVerified, ServerCertVerifier},
Expand All @@ -10,13 +11,14 @@ use rustls::{
server::ParsedCertificate,
RootCertStore,
};
use std::{collections::BTreeMap, sync::Weak};
use time::OffsetDateTime;
use tokio::task::JoinHandle;
use tokio_util::sync::CancellationToken;
use webpki::ALL_VERIFICATION_ALGS;
use zenoh_protocol::core::Locator;

use crate::LinkUnicastTrait;

impl ServerCertVerifier for WebPkiVerifierAnyServerName {
/// Will verify the certificate is valid in the following ways:
/// - Signed by a trusted `RootCertStore` CA
Expand Down

0 comments on commit 716f7ae

Please sign in to comment.