diff options
| author | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2019-05-02 09:19:36 -0400 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2019-05-03 06:55:04 -0300 |
| commit | 096d45a878ba9606f1677f66d346b14c3c274fa5 (patch) | |
| tree | 16a875121b5354ba37c5667d37ec06f4254085b4 /util/crypto.h | |
| parent | 35e21bfb6f5fa4a0b61a71860e1f7f04d9e3e274 (diff) | |
gmime-cleanup: remove obsolete gpg_path configuration option and crypto contexts
Note that we do keep ignoring the gpg_path configuration option,
though, to avoid breakage of existing installations. It is ignored
like any other unknown configuration option, but we at least document
that it is ignored so that people who find it in their legacy configs
can know that it's safe to drop.
signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
Diffstat (limited to 'util/crypto.h')
| -rw-r--r-- | util/crypto.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/util/crypto.h b/util/crypto.h index 1a90f0e0..dbb333eb 100644 --- a/util/crypto.h +++ b/util/crypto.h @@ -12,11 +12,6 @@ extern "C" { typedef struct _notmuch_crypto { bool verify; notmuch_decryption_policy_t decrypt; -#if (GMIME_MAJOR_VERSION < 3) - GMimeCryptoContext* gpgctx; - GMimeCryptoContext* pkcs7ctx; - const char *gpgpath; -#endif } _notmuch_crypto_t; GMimeObject * @@ -28,13 +23,6 @@ _notmuch_crypto_decrypt (bool *attempted, GMimeDecryptResult **decrypt_result, GError **err); -#if (GMIME_MAJOR_VERSION < 3) -notmuch_status_t -_notmuch_crypto_get_gmime_ctx_for_protocol (_notmuch_crypto_t *crypto, - const char *protocol, - GMimeCryptoContext **ctx); -#endif - void _notmuch_crypto_cleanup (_notmuch_crypto_t *crypto); |
