diff options
-rw-r--r-- | src/command/commands.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/command/commands.c b/src/command/commands.c index 70f41a6d..94734563 100644 --- a/src/command/commands.c +++ b/src/command/commands.c @@ -201,6 +201,9 @@ cmd_tls(ProfWin *window, const char * const command, gchar **args) } while (curr) { TLSCertificate *cert = curr->data; + if (cert->fingerprint) { + cons_show("Fingerprint : %s", cert->fingerprint); + } if (cert->domain) { cons_show("Domain : %s", cert->domain); } @@ -216,9 +219,6 @@ cmd_tls(ProfWin *window, const char * const command, gchar **args) if (cert->notafter) { cons_show("End : %s", cert->notafter); } - if (cert->fingerprint) { - cons_show("Fingerprint : %s", cert->fingerprint); - } cons_show(""); curr = g_list_next(curr); } |