1
0
mirror of https://github.com/certbot/certbot.git synced 2026-01-21 19:01:07 +03:00

Fix new call to save_successor

This commit is contained in:
Peter Eckersley
2015-09-15 18:25:49 -07:00
parent bde5a1fe17
commit 3e59ed6939

View File

@@ -276,8 +276,7 @@ def run(args, config, plugins): # pylint: disable=too-many-branches,too-many-lo
lineage.save_successor(
lineage.latest_common_version(), OpenSSL.crypto.dump_certificate(
OpenSSL.crypto.FILETYPE_PEM, new_certr.body),
new_key.pem, OpenSSL.crypto.dump_certificate(
OpenSSL.crypto.FILETYPE_PEM, new_chain))
new_key.pem, crypto_util.dump_pyopenssl_chain(new_chain))
lineage.update_all_links_to(lineage.latest_common_version())
# TODO: Check return value of save_successor