]> git.notmuchmail.org Git - notmuch/commitdiff
cli: crypto: abstract gpg context creation for clarity
authorJani Nikula <jani@nikula.org>
Sat, 30 Mar 2013 13:53:15 +0000 (15:53 +0200)
committerDavid Bremner <bremner@unb.ca>
Mon, 1 Apr 2013 19:39:22 +0000 (15:39 -0400)
The code filled with #ifdef GMIME_ATLEAST_26 is difficult to
read. Abstract gpg context creation into a function, with separate
implementations for GMime 2.4 and 2.6, to clarify the code.

There should be no functional changes.


No differences found