Skip to content

Commit

Permalink
Small correction to the quic::PacketKey::integrity_limit doc
Browse files Browse the repository at this point in the history
  • Loading branch information
MOZGIII committed Apr 29, 2024
1 parent 59c33df commit cbf1dc5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rustls/src/quic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -722,9 +722,9 @@ pub trait PacketKey: Send + Sync {
/// Once a `MessageDecrypter` produced for this suite has failed to decrypt `integrity_limit`
/// messages, an attacker gains an advantage in forging messages.
///
/// This is not relevant for TLS over TCP (which is implemented in this crate)
/// because a single failed decryption is fatal to the connection. However,
/// this quantity is used by QUIC.
/// This is not relevant for TLS over TCP (which is also implemented in this crate)
/// because a single failed decryption is fatal to the connection.
/// However, this quantity is used by QUIC.
fn integrity_limit(&self) -> u64;
}

Expand Down

0 comments on commit cbf1dc5

Please sign in to comment.