X-Git-Url: https://git.cworth.org/git?p=notmuch;a=blobdiff_plain;f=notmuch-show.c;h=f8f1d0f1c85ac36c2377f526d6a9245353213bf8;hp=99475069ba19ba9ad8825c0e84ea932d2ca2a9f7;hb=cd853915ec0ad3e3ee6ec90a7d856e95d001abe9;hpb=2b3224a6c4be6b6c038a9956448187e0a402687b diff --git a/notmuch-show.c b/notmuch-show.c index 99475069..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");