feat: do not use webpki roots in main example
This commit is contained in:
parent
79b17313e7
commit
053f042e00
1 changed files with 0 additions and 1 deletions
|
@ -37,7 +37,6 @@ async fn main() -> Result<(), tokio_gemini::LibError> {
|
||||||
.build()
|
.build()
|
||||||
} else {
|
} else {
|
||||||
tokio_gemini::Client::builder()
|
tokio_gemini::Client::builder()
|
||||||
.with_webpki_roots() // TODO: do we really need them?
|
|
||||||
.with_selfsigned_cert_verifier(CertVerifier::init().await?)
|
.with_selfsigned_cert_verifier(CertVerifier::init().await?)
|
||||||
.build()
|
.build()
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue