crypto: drop pretense of notmuch_crypto_context_t
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Tue, 10 Oct 2017 05:49:03 +0000 (01:49 -0400)
committerDavid Bremner <david@tethera.net>
Fri, 13 Oct 2017 01:11:33 +0000 (22:11 -0300)
commit3e9857a0b98c04973b9b6ad2da7dc5c3992b3b1c
tree2cd50149271c2702821cc7059e92c5b1b7cd15a3
parent88f2a72ef1dcfce149bbac776652ea04e564726d
crypto: drop pretense of notmuch_crypto_context_t

notmuch_crypto_context_t was introduced (i think) as some sort of
abstraction layer to make notmuch somewhat independent of GMime.  But
it isn't even useful for GMime 3.0 or later -- we can drop the
pretense that it's some sort of abstraction in this case, and just
call it what it is, GMimeCryptoContext, which is useful for building
against older versions of GMime.

This also renames _notmuch_crypto_get_context() to
_notmuch_crypto_get_gmime_context().
crypto.c
mime-node.c
notmuch-client.h