diff --git a/src/certs/dane.rs b/src/certs/dane.rs index 9eccbb8..e42a953 100644 --- a/src/certs/dane.rs +++ b/src/certs/dane.rs @@ -4,9 +4,9 @@ use crate::{ LibError, }; -pub async fn dane<'d>( +pub async fn dane( dns: &DnsClient, - cert: &CertificateDer<'d>, + cert: &CertificateDer<'_>, host: &str, port: u16, ) -> Result {