base: Fix the encryption settings Into implementation.

master
Damir Jelić 2020-08-21 12:44:14 +02:00
parent ce93869915
commit 9fe23227af
1 changed files with 1 additions and 1 deletions

View File

@ -165,7 +165,7 @@ impl Into<EncryptionSettings> for EncryptionInfo {
fn into(self) -> EncryptionSettings {
EncryptionSettings {
algorithm: self.algorithm,
rotation_period: Duration::from_millis(self.rotation_period_messages),
rotation_period: Duration::from_millis(self.rotation_period_ms),
rotation_period_msgs: self.rotation_period_messages,
}
}