Skip to content

Commit

Permalink
Merge pull request #988 from sozu-proxy/fix-issue-774
Browse files Browse the repository at this point in the history
remove skipping of certificate update in GenericCertificateResolver
  • Loading branch information
FlorentinDUBOIS authored Sep 12, 2023
2 parents 3a37375 + daaeb19 commit bf7b492
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions lib/src/tls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit bf7b492

Please sign in to comment.