Skip to content

Commit 800a45e

Browse files
committed
fix aead
1 parent 57a9152 commit 800a45e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aead/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ pub trait AeadCore {
126126
Nonce<Self>: Default,
127127
{
128128
let mut nonce = Nonce::<Self>::default();
129-
getrandom::getrandom(&mut nonce)?;
129+
getrandom::fill(&mut nonce)?;
130130
Ok(nonce)
131131
}
132132

0 commit comments

Comments
 (0)