cli: mime node: abstract decryption and signature verification
authorJani Nikula <jani@nikula.org>
Sat, 30 Mar 2013 13:53:16 +0000 (15:53 +0200)
committerDavid Bremner <bremner@unb.ca>
Mon, 1 Apr 2013 19:39:33 +0000 (15:39 -0400)
commitd487ef9e58bcd193118f19f771d5ef3984616be5
tree2298ec0e6f27d161c494379487a5084eb103eea2
parent8c6fd797952d38e03d46fd6b57bd6a1a63474de8
cli: mime node: abstract decryption and signature verification

The code filled with #ifdef GMIME_ATLEAST_26 is difficult to
read. Abstract the decryption and signature verification into
functions, with separate implementations for GMime 2.4 and 2.6, to
clarify the code.

There should be no functional changes.
mime-node.c