Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/store.rs
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ mod tests {
/// to their writer cannot carry this reader along with it.
mod frozen {
use aes_gcm::aead::{Aead, KeyInit, Payload};
use aes_gcm::{Aes256Gcm, Nonce};
use aes_gcm::Aes256Gcm;
use hkdf::Hkdf;
use sha2::Sha256;

Expand Down Expand Up @@ -360,7 +360,7 @@ mod tests {
Aes256Gcm::new_from_slice(&key(master_key, tenant))
.unwrap()
.decrypt(
Nonce::from_slice(nonce),
nonce.try_into().ok()?,
Payload {
msg: sealed,
aad: &aad,
Expand Down
Loading