Explorar o código

acme_tlsa_mail: replace number comparison with else for certificate serials (fixes #5)

Helmut Pozimski %!s(int64=7) %!d(string=hai) anos
pai
achega
58bf8d88f2
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      acme_tlsa_mail.py

+ 1 - 1
acme_tlsa_mail.py

@@ -90,7 +90,7 @@ def check_renewal(cert):
                 LOGGER.debug("Cert for %s matches with the one "
                              "installed, nothing to do.", FQDN)
                 return False
-            elif serial_acme_cert > serial_current_cert:
+            else:
                 return True