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 {