mirror of
https://github.com/certbot/certbot.git
synced 2026-06-08 00:02:14 -04:00
remove the correct dead code
This commit is contained in:
parent
1400dbb44f
commit
e2a091d7d6
2 changed files with 5 additions and 5 deletions
|
|
@ -43,6 +43,11 @@ def load_cert(*names):
|
|||
return OpenSSL.crypto.load_certificate(loader, load_vector(*names))
|
||||
|
||||
|
||||
def load_comparable_cert(*names):
|
||||
"""Load ComparableX509 cert."""
|
||||
return jose.ComparableX509(load_cert(*names))
|
||||
|
||||
|
||||
def load_csr(*names):
|
||||
"""Load certificate request."""
|
||||
loader = _guess_loader(
|
||||
|
|
|
|||
|
|
@ -57,11 +57,6 @@ def load_cert(*names):
|
|||
return OpenSSL.crypto.load_certificate(loader, load_vector(*names))
|
||||
|
||||
|
||||
def load_comparable_cert(*names):
|
||||
"""Load ComparableX509 cert."""
|
||||
return jose.ComparableX509(load_cert(*names))
|
||||
|
||||
|
||||
def load_csr(*names):
|
||||
"""Load certificate request."""
|
||||
loader = _guess_loader(
|
||||
|
|
|
|||
Loading…
Reference in a new issue