From e51090c18fef3f6271f4cd694713135c2388b4b0 Mon Sep 17 00:00:00 2001 From: Frieren <153332328+Frierened@users.noreply.github.com> Date: Fri, 15 Dec 2023 23:36:38 +0000 Subject: [PATCH 1/5] typo fix --- transports/noise/tests/smoke.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transports/noise/tests/smoke.rs b/transports/noise/tests/smoke.rs index 0afebc0cbea..7100e7c7a8d 100644 --- a/transports/noise/tests/smoke.rs +++ b/transports/noise/tests/smoke.rs @@ -30,7 +30,7 @@ use tracing_subscriber::EnvFilter; #[allow(dead_code)] fn core_upgrade_compat() { - // Tests API compaibility with the libp2p-core upgrade API, + // Tests API compatibility with the libp2p-core upgrade API, // i.e. if it compiles, the "test" is considered a success. let id_keys = identity::Keypair::generate_ed25519(); let noise = noise::Config::new(&id_keys).unwrap(); From 29a7078d5a95ac5eecf354c558a3fc17c7f5654b Mon Sep 17 00:00:00 2001 From: Frieren <153332328+Frierened@users.noreply.github.com> Date: Fri, 15 Dec 2023 23:36:57 +0000 Subject: [PATCH 2/5] typo fix --- transports/tls/src/certificate.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/transports/tls/src/certificate.rs b/transports/tls/src/certificate.rs index ff9d296bb16..801ba3fe3ce 100644 --- a/transports/tls/src/certificate.rs +++ b/transports/tls/src/certificate.rs @@ -27,7 +27,7 @@ use libp2p_identity::PeerId; use x509_parser::{prelude::*, signature_algorithm::SignatureAlgorithm}; /// The libp2p Public Key Extension is a X.509 extension -/// with the Object Identier 1.3.6.1.4.1.53594.1.1, +/// with the Object Identifier 1.3.6.1.4.1.53594.1.1, /// allocated by IANA to the libp2p project at Protocol Labs. const P2P_EXT_OID: [u64; 9] = [1, 3, 6, 1, 4, 1, 53594, 1, 1]; @@ -374,7 +374,7 @@ impl P2pCertificate<'_> { } if signature_algorithm.algorithm == OID_PKCS1_RSASSAPSS { // According to https://datatracker.ietf.org/doc/html/rfc4055#section-3.1: - // Inside of params there shuld be a sequence of: + // Inside of params there should be a sequence of: // - Hash Algorithm // - Mask Algorithm // - Salt Length From 4221b04b69fa252cbe7f76a8637ba212c84a988c Mon Sep 17 00:00:00 2001 From: Frieren <153332328+Frierened@users.noreply.github.com> Date: Fri, 15 Dec 2023 23:37:18 +0000 Subject: [PATCH 3/5] typo fix --- transports/webrtc/src/tokio/udp_mux.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transports/webrtc/src/tokio/udp_mux.rs b/transports/webrtc/src/tokio/udp_mux.rs index 20e04edaf72..7a8d960826d 100644 --- a/transports/webrtc/src/tokio/udp_mux.rs +++ b/transports/webrtc/src/tokio/udp_mux.rs @@ -337,7 +337,7 @@ impl UDPMuxNewAddr { let conn = match conn { // If we couldn't find the connection based on source address, see if - // this is a STUN mesage and if so if we can find the connection based on ufrag. + // this is a STUN message and if so if we can find the connection based on ufrag. None if is_stun_message(read.filled()) => { match self.conn_from_stun_message(read.filled(), &addr) { Some(Ok(s)) => Some(s), From e997a4e7e4b69dfcc060a620094cfd8bbd23d6a9 Mon Sep 17 00:00:00 2001 From: Frieren <153332328+Frierened@users.noreply.github.com> Date: Fri, 15 Dec 2023 23:37:31 +0000 Subject: [PATCH 4/5] typo fix --- transports/dns/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transports/dns/src/lib.rs b/transports/dns/src/lib.rs index 0c41990fab1..3aeac4e4154 100644 --- a/transports/dns/src/lib.rs +++ b/transports/dns/src/lib.rs @@ -277,7 +277,7 @@ where let resolver = self.resolver.clone(); let inner = self.inner.clone(); - // Asynchronlously resolve all DNS names in the address before proceeding + // Asynchronously resolve all DNS names in the address before proceeding // with dialing on the underlying transport. Ok(async move { let mut last_err = None; From bc8f0230880f356aca7a19c7411ae9ca70ea53e4 Mon Sep 17 00:00:00 2001 From: Frieren <153332328+Frierened@users.noreply.github.com> Date: Fri, 15 Dec 2023 23:37:45 +0000 Subject: [PATCH 5/5] typo fix --- transports/pnet/CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transports/pnet/CHANGELOG.md b/transports/pnet/CHANGELOG.md index e6c3d1974dc..1fbc2d08807 100644 --- a/transports/pnet/CHANGELOG.md +++ b/transports/pnet/CHANGELOG.md @@ -3,7 +3,7 @@ ## 0.23.1 -