feat: do not use webpki roots in main example

This commit is contained in:
DarkCat09 2024-08-06 12:02:09 +04:00
parent 79b17313e7
commit 053f042e00
Signed by: DarkCat09
GPG key ID: 0A26CD5B3345D6E3

View file

@ -37,7 +37,6 @@ async fn main() -> Result<(), tokio_gemini::LibError> {
.build()
} else {
tokio_gemini::Client::builder()
.with_webpki_roots() // TODO: do we really need them?
.with_selfsigned_cert_verifier(CertVerifier::init().await?)
.build()
};