Skip to content

Commit

Permalink
proto: remove incorrect feature guard
Browse files Browse the repository at this point in the history
`HashedConnectionIdGenerator::new()` uses the mandatory rand crate to
generate a key by default, not the *ring* crate.
  • Loading branch information
djc authored and Ralith committed May 3, 2024
1 parent 7af5296 commit e764fe4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion quinn-proto/src/cid_generator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,6 @@ impl HashedConnectionIdGenerator {
}
}

#[cfg(feature = "ring")]
impl Default for HashedConnectionIdGenerator {
fn default() -> Self {
Self::new()
Expand Down

0 comments on commit e764fe4

Please sign in to comment.