crypto: Fix a misleading comment about the outbound session rotation period
This commit is contained in:
parent
377b8ea75a
commit
ef95d9b539
1 changed files with 1 additions and 1 deletions
|
@ -280,7 +280,7 @@ impl OutboundGroupSession {
|
|||
|| self.creation_time.elapsed()
|
||||
// Since the encryption settings are provided by users and not
|
||||
// checked someone could set a really low rotation period so
|
||||
// clamp it at a minute.
|
||||
// clamp it to an hour.
|
||||
>= max(self.settings.rotation_period, Duration::from_secs(3600))
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue