From f16cbeec5129f34e38629dbdbcee1b2da64d1be8 Mon Sep 17 00:00:00 2001 From: Paolo Barbolini Date: Fri, 2 May 2025 05:19:39 +0200 Subject: [PATCH] fixme --- src/transport/smtp/client/tls/rustls.rs | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/transport/smtp/client/tls/rustls.rs b/src/transport/smtp/client/tls/rustls.rs index f9e99d3..76be62f 100644 --- a/src/transport/smtp/client/tls/rustls.rs +++ b/src/transport/smtp/client/tls/rustls.rs @@ -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, +struct InvalidCertsVerifier { + ignore_invalid_hostnames: bool, + ignore_invalid_certs: bool, + roots: RootCertStore, + crypto_provider: Arc, } impl ServerCertVerifier for InvalidCertsVerifier {