Skip to content

Commit

Permalink
adds 'KeyInit' trait to single-threaded block
Browse files Browse the repository at this point in the history
  • Loading branch information
seanwatters committed Feb 10, 2024
1 parent 6103ed9 commit a85a8c6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,8 @@ pub mod content {

#[cfg(not(feature = "multi-thread"))]
let encrypted_content = {
use chacha20poly1305::KeyInit;

let signature = super::signature::sign(&fingerprint, &content);
content.extend(signature);

Expand Down

0 comments on commit a85a8c6

Please sign in to comment.