X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=lib%2Findex.cc;fp=lib%2Findex.cc;h=f21761d0c3d74133a676d082f7b1da01d3365a39;hp=768309219c3ba4b433a70c7ef7c7b708c2dc0f97;hb=b7ac4c05e118047442378f58eeb69d43bd1cbdb1;hpb=591a0787c2dc8fc79d0673ec42a84e6939722f17 diff --git a/lib/index.cc b/lib/index.cc index 76830921..f21761d0 100644 --- a/lib/index.cc +++ b/lib/index.cc @@ -528,12 +528,11 @@ _index_encrypted_mime_part (notmuch_message_t *message, notmuch = notmuch_message_get_database (message); - GMimeCryptoContext* crypto_ctx = NULL; bool attempted = false; GMimeDecryptResult *decrypt_result = NULL; bool get_sk = (notmuch_indexopts_get_decrypt_policy (indexopts) == NOTMUCH_DECRYPT_TRUE); clear = _notmuch_crypto_decrypt (&attempted, notmuch_indexopts_get_decrypt_policy (indexopts), - message, crypto_ctx, encrypted_data, get_sk ? &decrypt_result : NULL, &err); + message, encrypted_data, get_sk ? &decrypt_result : NULL, &err); if (!attempted) return; if (err || !clear) {