crypto: Fix a misleading comment about the outbound session rotation period
parent
377b8ea75a
commit
ef95d9b539
|
@ -280,7 +280,7 @@ impl OutboundGroupSession {
|
||||||
|| self.creation_time.elapsed()
|
|| self.creation_time.elapsed()
|
||||||
// Since the encryption settings are provided by users and not
|
// Since the encryption settings are provided by users and not
|
||||||
// checked someone could set a really low rotation period so
|
// 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))
|
>= max(self.settings.rotation_period, Duration::from_secs(3600))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue