From daaeb19f3b87a164dbdd3317444e437ccfc459fc Mon Sep 17 00:00:00 2001 From: Emmanuel Bosquet Date: Mon, 11 Sep 2023 17:37:45 +0200 Subject: [PATCH] remove skipping of certificate update in GenericCertificateResolver --- lib/src/tls.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/src/tls.rs b/lib/src/tls.rs index 8516dc640..0fa1b7ecb 100644 --- a/lib/src/tls.rs +++ b/lib/src/tls.rs @@ -191,11 +191,6 @@ impl CertificateResolver for GenericCertificateResolver { self.overrides.remove(&fingerprint); } - // We do not need to update the entry, if the certificate is already registered - if self.get_certificate(&fingerprint).is_some() { - return Ok(fingerprint); - } - let (ok, certificates_to_remove) = self.should_insert(&fingerprint, &parsed_certificate_and_key)?; if !ok {