Show trusted certificate fingerprint first
This commit is contained in:
@@ -201,6 +201,9 @@ cmd_tls(ProfWin *window, const char * const command, gchar **args)
|
|||||||
}
|
}
|
||||||
while (curr) {
|
while (curr) {
|
||||||
TLSCertificate *cert = curr->data;
|
TLSCertificate *cert = curr->data;
|
||||||
|
if (cert->fingerprint) {
|
||||||
|
cons_show("Fingerprint : %s", cert->fingerprint);
|
||||||
|
}
|
||||||
if (cert->domain) {
|
if (cert->domain) {
|
||||||
cons_show("Domain : %s", 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) {
|
if (cert->notafter) {
|
||||||
cons_show("End : %s", cert->notafter);
|
cons_show("End : %s", cert->notafter);
|
||||||
}
|
}
|
||||||
if (cert->fingerprint) {
|
|
||||||
cons_show("Fingerprint : %s", cert->fingerprint);
|
|
||||||
}
|
|
||||||
cons_show("");
|
cons_show("");
|
||||||
curr = g_list_next(curr);
|
curr = g_list_next(curr);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user