Update src/certificates.rs
Some checks failed
Tests / clippy (push) Has been cancelled
Tests / formatting (push) Has been cancelled
Tests / tests (push) Has been cancelled

Co-authored-by: Johann150 <johann@qwertqwefsday.eu>
This commit is contained in:
oooo-ps 2026-04-02 08:19:20 +03:00 committed by GitHub
parent 0cbf702aba
commit ee74fab3ca
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -222,7 +222,7 @@ impl ResolvesServerCert for CertStore {
.map(|(_, k)| k) .map(|(_, k)| k)
.cloned() .cloned()
} else { } else {
// This kind of resolver requires SNI. Fallback to default cert. // Fallback to default cert.
// * must exist in the `.certificates` root // * must exist in the `.certificates` root
// * CN value can be any // * CN value can be any
self.certs self.certs