X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;ds=sidebyside;f=notmuch-show.c;h=f8f1d0f1c85ac36c2377f526d6a9245353213bf8;hb=cd853915ec0ad3e3ee6ec90a7d856e95d001abe9;hp=311ac6ac43cb71f442a8f9927bca4ff206ae24c5;hpb=c7b9bdb81e49321170dc6f0a522301f28e791521;p=notmuch diff --git a/notmuch-show.c b/notmuch-show.c index 311ac6ac..f8f1d0f1 100644 --- a/notmuch-show.c +++ b/notmuch-show.c @@ -450,7 +450,7 @@ format_part_sigstatus_sprinter (sprinter_t *sp, mime_node_t *node) /* note that gmime is using the term "trust" here, which * is WRONG. It's actually user id "validity". */ if (certificate) { - const char *name = g_mime_certificate_get_name (certificate); + const char *name = g_mime_certificate_get_uid (certificate); GMimeCertificateTrust trust = g_mime_certificate_get_trust (certificate); if (name && (trust == GMIME_CERTIFICATE_TRUST_FULLY || trust == GMIME_CERTIFICATE_TRUST_ULTIMATE)) { sp->map_key (sp, "userid"); @@ -458,7 +458,7 @@ format_part_sigstatus_sprinter (sprinter_t *sp, mime_node_t *node) } } } else if (certificate) { - const char *key_id = g_mime_certificate_get_key_id (certificate); + const char *key_id = g_mime_certificate_get_fpr16 (certificate); if (key_id) { sp->map_key (sp, "keyid"); sp->string (sp, key_id);