This commit is contained in:
Paolo Barbolini
2025-05-02 05:19:39 +02:00
parent 5cbe9ba283
commit f16cbeec51

View File

@@ -169,13 +169,12 @@ pub enum MinTlsVersion {
Tlsv13,
}
// FIXME: remove `pub(super)`
#[derive(Debug)]
pub(super) struct InvalidCertsVerifier {
pub(super) ignore_invalid_hostnames: bool,
pub(super) ignore_invalid_certs: bool,
pub(super) roots: RootCertStore,
pub(super) crypto_provider: Arc<CryptoProvider>,
struct InvalidCertsVerifier {
ignore_invalid_hostnames: bool,
ignore_invalid_certs: bool,
roots: RootCertStore,
crypto_provider: Arc<CryptoProvider>,
}
impl ServerCertVerifier for InvalidCertsVerifier {