]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch-show.c
cli: make keyid from fingerprint in gmime 3.0
[notmuch] / notmuch-show.c
index 311ac6ac43cb71f442a8f9927bca4ff206ae24c5..99475069ba19ba9ad8825c0e84ea932d2ca2a9f7 100644 (file)
@@ -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);