mirror of
https://github.com/Blah-IM/blahrs.git
synced 2025-07-10 08:05:33 +00:00
fix(types,blahd): reject timestamps > i64::MAX
This commit is contained in:
parent
c4fbf1294b
commit
a38b59da84
5 changed files with 27 additions and 12 deletions
|
@ -1190,7 +1190,7 @@ async fn register_flow(server: Server) {
|
|||
// Sign using id_key.
|
||||
let act_key = UserActKeyDesc {
|
||||
act_key: CAROL.pubkeys.act_key.clone(),
|
||||
expire_time: u64::MAX,
|
||||
expire_time: i64::MAX as _,
|
||||
comment: "comment".into(),
|
||||
}
|
||||
.sign_msg(&CAROL.pubkeys.id_key, &CAROL.id_priv)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue