Update docs/book/src/quinn/certificate.md

Co-authored-by: Dirkjan Ochtman <dirkjan@ochtman.nl>
This commit is contained in:
Timon
2021-01-13 17:35:32 +01:00
committed by Dirkjan Ochtman
parent edec8ea9d5
commit 46a96049ba
+1 -1
View File
@@ -16,7 +16,7 @@ quinn = "*"
rustls = { version = "*", features = ["dangerous_configuration", "quic"] }
```
Then, you can skip the certificate validation on the client by implementing [ServerCertVerifier][ServerCertVerifier] and let it assert verification for any server.
Then, allow the client to skip the certificate validation by implementing [ServerCertVerifier][ServerCertVerifier] and letting it assert verification for any server.
```rust
// Implementation of `ServerCertVerifier` that verifies everything as trustworthy.