From 800a45e96e97c4df93a5a7642404d992ae0f6192 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D1=80=D1=82=D1=91=D0=BC=20=D0=9F=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=BE=D0=B2=20=5BArtyom=20Pavlov=5D?= Date: Fri, 31 Jan 2025 19:31:10 +0300 Subject: [PATCH] fix aead --- aead/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aead/src/lib.rs b/aead/src/lib.rs index 7f35e457..5fbea4cc 100644 --- a/aead/src/lib.rs +++ b/aead/src/lib.rs @@ -126,7 +126,7 @@ pub trait AeadCore { Nonce: Default, { let mut nonce = Nonce::::default(); - getrandom::getrandom(&mut nonce)?; + getrandom::fill(&mut nonce)?; Ok(nonce) }