From: Jameson Graef Rollins Date: Sat, 26 May 2012 18:45:46 +0000 (-0700) Subject: cli: use new notmuch_crypto_get_context in mime-node.c X-Git-Tag: 0.14~92 X-Git-Url: https://git.notmuchmail.org/git?a=commitdiff_plain;ds=sidebyside;h=e04b18cf3624e1ba29a45cd1f15715e1da244021;hp=e04b18cf3624e1ba29a45cd1f15715e1da244021;p=notmuch cli: use new notmuch_crypto_get_context in mime-node.c This has the affect of lazily creating the crypto contexts only when needed. This removes code duplication from notmuch-show and notmuch-reply, and should speed up these functions considerably if the crypto flags are provided but the messages don't have any cryptographic parts. ---