quinn-rs / quinn

Async-friendly QUIC implementation in Rust
Apache License 2.0
3.57k stars 364 forks source link

Fix panic in example due to unset default crypto provider #1882

Closed Ralith closed 1 month ago

Ralith commented 1 month ago

Fixes #1881.

We could also call CryptoProvider::get_default lazily, but that would be more work to adapt for users who want a non-default provider, and more verbose besides.