From d1d2a8aa1d96baf0aab19e7faaa453ffdf50f2d7 Mon Sep 17 00:00:00 2001 From: Lars Eggert Date: Thu, 28 Mar 2024 15:06:40 +0200 Subject: [PATCH] Fix comment --- neqo-transport/tests/connection.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neqo-transport/tests/connection.rs b/neqo-transport/tests/connection.rs index cdcf1b9ef1..ddc0718747 100644 --- a/neqo-transport/tests/connection.rs +++ b/neqo-transport/tests/connection.rs @@ -148,7 +148,7 @@ fn packet_without_frames() { let (aead, hp) = initial_aead_and_hp(&client_dcid, Role::Server); let (mut header, pn) = remove_header_protection(&hp, protected_header, payload); assert_eq!(pn, 0); - // Re-encode the packet number as a four-byte varint, so we have enough material for the header + // Re-encode the packet number as four bytes, so we have enough material for the header // protection sample. let hl = header.len(); header[hl - 2] = u8::try_from(4 + aead.expansion()).unwrap();