On Fri, Jul 19 2013, Jameson Graef Rollins wrote: > Badly formed messages that don't specify a protocol in > signed/encrypted parts, end up with a protocol of NULL. strcasecmp in > notmuch_crypto_get_context then segfaults when trying to check it > against known protocols. If the protocol is NULL, just return an > empty context immediately (with appropriate message.) Fixes bug reported in id:87mwpiu4vi.fsf@zancas.localnet jamie.