From ba984d46a1b4f2121ce840535c11de49266bad2d Mon Sep 17 00:00:00 2001 From: Ruben van Staveren Date: Mon, 6 May 2019 14:18:53 +0200 Subject: [PATCH] Use get_issuer, as intended by logging.debug --- sort_certificate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sort_certificate.py b/sort_certificate.py index a2e5468..e3a4432 100755 --- a/sort_certificate.py +++ b/sort_certificate.py @@ -241,7 +241,7 @@ def main(): try: logging.debug('subject=%s\n\tissuer%s\n\texpired=%s\n\tmodulus=%s', root_cert.get_subject(), - root_cert.get_subject(), + root_cert.get_issuer(), root_cert.has_expired(), get_pub_modulus(root_cert)) except Exception: