Skip to content

Commit

Permalink
Fix envelope decryption test
Browse files Browse the repository at this point in the history
  • Loading branch information
rubdos committed Mar 29, 2024
1 parent 05b4fcc commit 4255520
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libsignal-service/src/envelope.rs
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,8 @@ mod tests {
];

let signaling_key = [0u8; 52];
let envelope = Envelope::decrypt(&body, &signaling_key, true).unwrap();
let envelope =
Envelope::decrypt(&body, Some(&signaling_key), true).unwrap();
assert_eq!(envelope.server_timestamp(), 1594373582421);
assert_eq!(envelope.timestamp(), 1594373580977);
assert_eq!(
Expand Down

0 comments on commit 4255520

Please sign in to comment.