X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;ds=inline;f=notmuch-show.c;h=730a91f80827937ed9bb0e9841949ce79c52e6eb;hb=bb0b119358e4d6df5cc085a48cb3d2e09e396922;hp=ad7cf122f553270f85839dc7232da4e89d6419b0;hpb=35e21bfb6f5fa4a0b61a71860e1f7f04d9e3e274;p=notmuch diff --git a/notmuch-show.c b/notmuch-show.c index ad7cf122..730a91f8 100644 --- a/notmuch-show.c +++ b/notmuch-show.c @@ -894,7 +894,6 @@ show_message (void *ctx, part = mime_node_seek_dfs (root, (params->part < 0 ? 0 : params->part)); if (part) status = format->part (local, sp, part, indent, params); -#if HAVE_GMIME_SESSION_KEYS if (params->crypto.decrypt == NOTMUCH_DECRYPT_TRUE && session_key_count_error == NOTMUCH_STATUS_SUCCESS) { unsigned int new_session_keys = 0; if (notmuch_message_count_properties (message, "session-key", &new_session_keys) == NOTMUCH_STATUS_SUCCESS && @@ -908,7 +907,6 @@ show_message (void *ctx, } } } -#endif DONE: talloc_free (local); return status; @@ -1213,10 +1211,6 @@ notmuch_show_command (notmuch_config_t *config, int argc, char *argv[]) return EXIT_FAILURE; } -#if (GMIME_MAJOR_VERSION < 3) - params.crypto.gpgpath = notmuch_config_get_crypto_gpg_path (config); -#endif - notmuch_database_mode_t mode = NOTMUCH_DATABASE_MODE_READ_ONLY; if (params.crypto.decrypt == NOTMUCH_DECRYPT_TRUE) mode = NOTMUCH_DATABASE_MODE_READ_WRITE;