Chore: Bump rand->0.9, tokio-tungstenite->0.26

This commit is contained in:
Kyle Simpson
2025-02-21 13:08:25 +00:00
parent b46a568fb5
commit b39ab98223
8 changed files with 34 additions and 27 deletions

View File

@@ -423,7 +423,7 @@ impl CryptoState {
match self {
Self::Suffix => {
rand::thread_rng().fill(&mut packet.payload_mut()[startpoint..endpoint]);
rand::rng().fill(&mut packet.payload_mut()[startpoint..endpoint]);
},
Self::Lite(ref mut i)
| Self::Aes256Gcm(ref mut i)