Use get_issuer, as intended by logging.debug

This commit is contained in:
Ruben van Staveren 2019-05-06 14:18:53 +02:00
parent 2ba60dded4
commit ba984d46a1

View File

@ -241,7 +241,7 @@ def main():
try: try:
logging.debug('subject=%s\n\tissuer%s\n\texpired=%s\n\tmodulus=%s', logging.debug('subject=%s\n\tissuer%s\n\texpired=%s\n\tmodulus=%s',
root_cert.get_subject(), root_cert.get_subject(),
root_cert.get_subject(), root_cert.get_issuer(),
root_cert.has_expired(), root_cert.has_expired(),
get_pub_modulus(root_cert)) get_pub_modulus(root_cert))
except Exception: except Exception: