]> git.notmuchmail.org Git - notmuch/blobdiff - util/crypto.h
crypto: use stashed session-key properties for decryption, if available
[notmuch] / util / crypto.h
index d68634f3322ca7b8d5cfab10c4707189fabb4bc4..0c62ac70d8f1cfde40634964654b2fb58c14e229 100644 (file)
@@ -16,7 +16,8 @@ typedef struct _notmuch_crypto {
 } _notmuch_crypto_t;
 
 GMimeObject *
-_notmuch_crypto_decrypt (GMimeCryptoContext* crypto_ctx,
+_notmuch_crypto_decrypt (notmuch_message_t *message,
+                        GMimeCryptoContext* crypto_ctx,
                         GMimeMultipartEncrypted *part,
                         GMimeDecryptResult **decrypt_result,
                         GError **err);