diff --git a/src/delegation/agent.rs b/src/delegation/agent.rs index 2e1a4c75..c4395056 100644 --- a/src/delegation/agent.rs +++ b/src/delegation/agent.rs @@ -63,7 +63,7 @@ where command: String, new_policy: Vec, metadata: BTreeMap, - expiration: Timestamp, + expiration: Option, not_before: Option, now: SystemTime, varsig_header: V, @@ -96,8 +96,8 @@ where command, metadata, nonce, - expiration: expiration.into(), - not_before: not_before.map(Into::into), + expiration, + not_before, policy, };