Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion transports/dns/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion transports/noise/tests/smoke.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
2 changes: 1 addition & 1 deletion transports/pnet/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

## 0.23.1

<!-- Interal changes:
<!-- Internal changes:

- Allow new clippy lint.

Expand Down
4 changes: 2 additions & 2 deletions transports/tls/src/certificate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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];

Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion transports/webrtc/src/tokio/udp_mux.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down