diff --git a/aquatic_udp/src/common.rs b/aquatic_udp/src/common.rs index 6609914..ddb80f3 100644 --- a/aquatic_udp/src/common.rs +++ b/aquatic_udp/src/common.rs @@ -28,7 +28,8 @@ impl ConnectionValidator { pub fn new(config: &Config) -> anyhow::Result { let mut key = [0; 32]; - getrandom(&mut key).with_context(|| "Couldn't get random bytes from system source")?; + getrandom(&mut key) + .with_context(|| "Couldn't get random bytes for ConnectionValidator key")?; let hmac = blake3::Hasher::new_keyed(&key);