diff --git a/tonic/src/transport/service/tls.rs b/tonic/src/transport/service/tls.rs index 4ec143589..fc3aa8454 100644 --- a/tonic/src/transport/service/tls.rs +++ b/tonic/src/transport/service/tls.rs @@ -2,11 +2,7 @@ use std::{fmt, sync::Arc}; use tokio::io::{AsyncRead, AsyncWrite}; use tokio_rustls::{ - rustls::{ - pki_types::{CertificateDer, PrivateKeyDer, ServerName}, - server::WebPkiClientVerifier, - ClientConfig, RootCertStore, ServerConfig, - }, + rustls::{pki_types::ServerName, ClientConfig, RootCertStore, ServerConfig}, TlsAcceptor as RustlsAcceptor, TlsConnector as RustlsConnector, };