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

This commit is contained in:
MOZGIII 2024-04-29 14:51:45 -03:00
parent 59c33df57f
commit cbf1dc55e4
1 changed files with 3 additions and 3 deletions

View File

@ -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;
}