Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Small correction to the quic::PacketKey::integrity_limit doc #1930

Merged
merged 1 commit into from
Apr 30, 2024
Merged
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
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
Loading