mirror of
https://github.com/certbot/certbot.git
synced 2026-04-28 01:28:25 -04:00
crypto_util: Remove asn1_generalizedtime_to_dt(...)
Not used by any other code AFAIK (ack'd entire codebase).
This commit is contained in:
parent
74b2e3bc51
commit
32da607ae5
1 changed files with 0 additions and 5 deletions
|
|
@ -274,11 +274,6 @@ def asn1_generalizedtime_to_dt(timestamp):
|
|||
return datetime.datetime.strptime(timestamp, '%Y%m%d%H%M%SZ')
|
||||
|
||||
|
||||
def pyopenssl_x509_name_as_text(x509name):
|
||||
"""Convert `OpenSSL.crypto.X509Name` to text."""
|
||||
return "/".join("{0}={1}" for key, value in x509name.get_components())
|
||||
|
||||
|
||||
def dump_pyopenssl_chain(chain, filetype=OpenSSL.crypto.FILETYPE_PEM):
|
||||
"""Dump certificate chain into a bundle.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue