]> git.notmuchmail.org Git - notmuch/blobdiff - util/crypto.h
lib: convert notmuch decryption policy to an enum
[notmuch] / util / crypto.h
index 0c62ac70d8f1cfde40634964654b2fb58c14e229..b23ca7472a6e05281d2b5d3bfe2f68ea11cd4d73 100644 (file)
@@ -7,7 +7,7 @@
 
 typedef struct _notmuch_crypto {
     bool verify;
-    bool decrypt;
+    notmuch_decryption_policy_t decrypt;
 #if (GMIME_MAJOR_VERSION < 3)
     GMimeCryptoContext* gpgctx;
     GMimeCryptoContext* pkcs7ctx;