notmuch/lib
Daniel Kahn Gillmor ab0ae8b1c0 util/crypto: _n_m_crypto_potential_payload returns whether part is the payload
Our _notmuch_message_crypto_potential_payload implementation could
only return a failure if bad arguments were passed to it.  It is an
internal function, so if that happens it's an entirely internal bug
for notmuch.

It will be more useful for this function to return whether or not the
part is in fact a cryptographic payload, so we dispense with the
status return.

If some future change suggests adding a status return back, there are
only a handful of call sites, and no pressure to retain a stable API,
so it could be changed easily. But for now, go with the simpler
function.

We will use this return value in future patches, to make different
decisions based on whether a part is the cryptographic payload or not.
But for now, we just leave the places where it gets invoked marked
with (void) to show that the result is ignored.

Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
2019-09-01 08:38:11 -03:00
..
add-message.cc lib: run uncrustify 2019-06-14 07:41:27 -03:00
built-with.c gmime-cleanup: always support session keys 2019-05-03 06:55:32 -03:00
config.cc lib: run uncrustify 2019-06-14 07:41:27 -03:00
database-private.h lib: run uncrustify 2019-06-14 07:41:27 -03:00
database.cc lib: run uncrustify 2019-06-14 07:41:27 -03:00
directory.cc lib: run uncrustify 2019-06-14 07:41:27 -03:00
filenames.c lib: convert notmuch_bool_t to stdbool internally 2017-10-09 22:27:16 -03:00
index.cc util/crypto: _n_m_crypto_potential_payload returns whether part is the payload 2019-09-01 08:38:11 -03:00
indexopts.c lib: run uncrustify 2019-06-14 07:41:27 -03:00
Makefile fix sum moar typos [build scripts, Makefiles] 2011-06-23 15:44:59 -07:00
Makefile.local lib: add thread subqueries. 2018-05-07 08:42:53 -03:00
message-file.c lib: run uncrustify 2019-06-14 07:41:27 -03:00
message-id.c lib: run uncrustify 2019-06-14 07:41:27 -03:00
message-private.h lib: convert notmuch_bool_t to stdbool internally 2017-10-09 22:27:16 -03:00
message-property.cc lib: run uncrustify 2019-06-14 07:41:27 -03:00
message.cc lib: run uncrustify 2019-06-14 07:41:27 -03:00
messages.c lib: run uncrustify 2019-06-14 07:41:27 -03:00
notmuch-private.h repair: set up codebase for repair functionality 2019-09-01 08:20:25 -03:00
notmuch.h lib: run uncrustify 2019-06-14 07:41:27 -03:00
notmuch.sym build: switch to hiding libnotmuch symbols by default 2017-05-12 07:17:18 -03:00
parse-time-vrp.cc lib: run uncrustify 2019-06-14 07:41:27 -03:00
parse-time-vrp.h lib: run uncrustify 2019-06-14 07:41:27 -03:00
query-fp.cc Use https instead of http where possible 2016-06-05 08:32:17 -03:00
query-fp.h lib: run uncrustify 2019-06-14 07:41:27 -03:00
query.cc lib: run uncrustify 2019-06-14 07:41:27 -03:00
regexp-fields.cc lib: run uncrustify 2019-06-14 07:41:27 -03:00
regexp-fields.h lib: run uncrustify 2019-06-14 07:41:27 -03:00
sha1.c lib: run uncrustify 2019-06-14 07:41:27 -03:00
string-list.c lib: run uncrustify 2019-06-14 07:41:27 -03:00
string-map.c lib/string_map: fix return type of string_cmp 2019-03-05 21:46:41 -04:00
tags.c Use https instead of http where possible 2016-06-05 08:32:17 -03:00
thread-fp.cc lib: define specialized get_thread_id for use in thread subquery 2018-05-07 08:42:53 -03:00
thread-fp.h lib: run uncrustify 2019-06-14 07:41:27 -03:00
thread.cc lib: run uncrustify 2019-06-14 07:41:27 -03:00