quinn-rs / quinn

Async-friendly QUIC implementation in Rust
Apache License 2.0
3.85k stars 394 forks source link

fix: read PEM certificates/keys by rustls_pemfile #1369

Closed Banyc closed 2 years ago

Banyc commented 2 years ago

Address the issue https://github.com/quinn-rs/quinn/issues/1367

Banyc commented 2 years ago

I made a demo repo to test the self-sign scenario and it works, so I pull requested this change.