notmuch/util
Daniel Kahn Gillmor 5f2832ae21 crypto: add _notmuch_crypto_decrypt wrapper function
We will use this centralized function to consolidate the awkward
behavior around different gmime versions.

It's only invoked from two places: mime-node.c's
node_decrypt_and_verify() and lib/index.cc's
_index_encrypted_mime_part().

However, those two places have some markedly distinct logic, so the
interface for this _notmuch_crypto_decrypt function is going to get a
little bit clunky.  It's worthwhile, though, for the sake of keeping
these #if directives reasonably well-contained.
2017-12-04 21:39:24 -04:00
..
crypto.c crypto: add _notmuch_crypto_decrypt wrapper function 2017-12-04 21:39:24 -04:00
crypto.h crypto: add _notmuch_crypto_decrypt wrapper function 2017-12-04 21:39:24 -04:00
error_util.c cppcheck: call va_end in _internal_error 2017-08-30 07:12:13 -03:00
error_util.h Use https instead of http where possible 2016-06-05 08:32:17 -03:00
gmime-extra.c util: make g_mime_utils_header_decode_date_unix match prototype 2017-07-17 08:47:18 -03:00
gmime-extra.h gmime-extra: drop compat layer for g_mime_multipart_encrypted_decrypt 2017-10-14 10:57:06 -03:00
hex-escape.c Use https instead of http where possible 2016-06-05 08:32:17 -03:00
hex-escape.h hex-escape: (en|de)code strings to/from restricted character set 2012-12-02 09:14:59 -04:00
Makefile xutil.c: remove duplicate copies, create new library libutil.a to contain xutil. 2011-10-30 23:09:49 -03:00
Makefile.local crypto: move into libnotmuch_util 2017-10-20 07:58:10 -03:00
string-util.c database: move striping of trailing '/' into helper function 2017-08-22 18:47:51 -03:00
string-util.h database: move striping of trailing '/' into helper function 2017-08-22 18:47:51 -03:00
talloc-extra.c util: add talloc-extra.[ch] 2012-12-30 21:12:11 -04:00
talloc-extra.h util: add talloc-extra.[ch] 2012-12-30 21:12:11 -04:00
util.c util: add gz_readline 2014-04-12 07:59:44 -03:00
util.h util: add gz_readline 2014-04-12 07:59:44 -03:00
xutil.c Use https instead of http where possible 2016-06-05 08:32:17 -03:00
xutil.h Use https instead of http where possible 2016-06-05 08:32:17 -03:00
zlib-extra.c Use https instead of http where possible 2016-06-05 08:32:17 -03:00
zlib-extra.h util: add gz_readline 2014-04-12 07:59:44 -03:00