Shorten the certificate chain output.

This commit is contained in:
Alexander Færøy 2016-10-23 02:51:08 +02:00
commit bc4e2c9ade
No known key found for this signature in database
GPG key ID: E15081D5D3C3DB53
3 changed files with 21 additions and 11 deletions

View file

@ -298,9 +298,8 @@ FORMAT_REC fecommon_core_formats[] = {
{ "tls_ephemeral_key_unavailable", "EDH Key: {error N/A}", 0 },
{ "tls_pubkey", "Public Key: {hilight $0} bit {hilight $1}, valid from {hilight $2} to {hilight $3}", 4, { 1, 0, 0, 0 } },
{ "tls_cert_header", "Certificate Chain:", 0 },
{ "tls_cert_subject_header", " Subject:", 0 },
{ "tls_cert_issuer_header", " Issuer:", 0 },
{ "tls_cert_named_entry", " $[-2]0: {hilight $1}", 2, { 0, 0 } },
{ "tls_cert_subject", " Subject: {hilight $0}", 1, { 0 } },
{ "tls_cert_issuer", " Issuer: {hilight $0}", 1, { 0 } },
{ "tls_pubkey_fingerprint", "Public Key Fingerprint: {hilight $0} ({hilight $1})", 2, { 0, 0 } },
{ "tls_cert_fingerprint", "Certificate Fingerprint: {hilight $0} ({hilight $1})", 2, { 0, 0 } },
{ "tls_protocol_version", "Protocol: {hilight $0} ({hilight $1} bit, {hilight $2})", 3, { 0, 1, 0 } },