diff --git a/libjose/src/jwt/profile/core.rs b/libjose/src/jwt/profile/core.rs index 35a52ce6d4..1543486977 100644 --- a/libjose/src/jwt/profile/core.rs +++ b/libjose/src/jwt/profile/core.rs @@ -238,8 +238,8 @@ impl TimeCop { } } - pub fn set_current(&mut self, value: impl Into) { - self.current = Some(value.into()); + pub fn set_current(&mut self, value: SystemTime) { + self.current = Some(value); } pub fn set_max_iat(&mut self, value: impl Into) {