X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=lib%2Findex.cc;h=6eb60f300a87e10fa1527467de6ecec00095d6c7;hb=a99058540823cd520cf2a5333e8ffe99799aa285;hp=19d03456a674e43a34efe36cba7ca2ad02b0d4f6;hpb=0ff13f862cd817fc1971900a433856a2a6146e24;p=notmuch diff --git a/lib/index.cc b/lib/index.cc index 19d03456..6eb60f30 100644 --- a/lib/index.cc +++ b/lib/index.cc @@ -548,7 +548,7 @@ _index_encrypted_mime_part (notmuch_message_t *message, } } #endif - clear = _notmuch_crypto_decrypt (crypto_ctx, encrypted_data, NULL, &err); + clear = _notmuch_crypto_decrypt (message, crypto_ctx, encrypted_data, NULL, &err); if (err) { _notmuch_database_log (notmuch, "Failed to decrypt during indexing. (%d:%d) [%s]\n", err->domain, err->code, err->message);