notmuch/lib
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
..
add-message.cc crypto: index encrypted parts when indexopts try_decrypt is set. 2017-10-21 19:53:19 -03:00
built-with.c lib: convert notmuch_bool_t to stdbool internally 2017-10-09 22:27:16 -03:00
config.cc lib: convert notmuch_bool_t to stdbool internally 2017-10-09 22:27:16 -03:00
database-private.h lib: convert notmuch_bool_t to stdbool internally 2017-10-09 22:27:16 -03:00
database.cc crypto: make shared crypto code behave library-like 2017-10-20 07:58:20 -03:00
directory.cc lib: convert notmuch_bool_t to stdbool internally 2017-10-09 22:27:16 -03:00
filenames.c lib: convert notmuch_bool_t to stdbool internally 2017-10-09 22:27:16 -03:00
index.cc crypto: add _notmuch_crypto_decrypt wrapper function 2017-12-04 21:39:24 -04:00
indexopts.c config: define new option index.try_decrypt 2017-10-21 19:54:33 -03:00
Makefile fix sum moar typos [build scripts, Makefiles] 2011-06-23 15:44:59 -07:00
Makefile.local build: fix out-of-tree builds, again 2017-09-13 08:48:17 -03:00
message-file.c lib: convert notmuch_bool_t to stdbool internally 2017-10-09 22:27:16 -03:00
message-id.c lib: factor out message-id parsing to separate file. 2017-08-01 21:17:47 -04:00
message-private.h lib: convert notmuch_bool_t to stdbool internally 2017-10-09 22:27:16 -03:00
message-property.cc properties: add notmuch_message_remove_all_properties_with_prefix() 2017-10-20 07:58:43 -03:00
message.cc crypto: index encrypted parts when indexopts try_decrypt is set. 2017-10-21 19:53:19 -03:00
messages.c lib: convert notmuch_bool_t to stdbool internally 2017-10-09 22:27:16 -03:00
notmuch-private.h crypto: index encrypted parts when indexopts try_decrypt is set. 2017-10-21 19:53:19 -03:00
notmuch.h reindex: drop all properties named with prefix "index." 2017-10-21 19:53:08 -03:00
notmuch.sym build: switch to hiding libnotmuch symbols by default 2017-05-12 07:17:18 -03:00
parse-time-vrp.cc Use https instead of http where possible 2016-06-05 08:32:17 -03:00
parse-time-vrp.h Use https instead of http where possible 2016-06-05 08:32:17 -03:00
query-fp.cc Use https instead of http where possible 2016-06-05 08:32:17 -03:00
query-fp.h Use https instead of http where possible 2016-06-05 08:32:17 -03:00
query.cc lib: convert notmuch_bool_t to stdbool internally 2017-10-09 22:27:16 -03:00
regexp-fields.cc lib: Add regexp expansion for for tags and paths 2017-05-09 07:44:29 -03:00
regexp-fields.h lib: Add regexp searching for mid: prefix 2017-05-09 07:44:15 -03:00
sha1.c lib: use glib for sha1 digests instead of embedding libsha1 2017-01-08 10:50:38 -04:00
string-list.c lib: add notmuch_message_count_files 2017-08-01 21:17:47 -04:00
string-map.c lib: convert notmuch_bool_t to stdbool internally 2017-10-09 22:27:16 -03:00
tags.c Use https instead of http where possible 2016-06-05 08:32:17 -03:00
thread.cc lib: convert notmuch_bool_t to stdbool internally 2017-10-09 22:27:16 -03:00