X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=mutt_crypt.h;h=2b9434c03f36a7f281980ad46f09a19dacca3f29;hp=e9713f4c09e38c4a10e042e9c311696b2df195cc;hb=3cb53df6efcb6b137bbab53c16da4eddbc5a1b2b;hpb=c88f8ebd5e7542e4ee2ac2c24dfd5f358dbb4235 diff --git a/mutt_crypt.h b/mutt_crypt.h index e9713f4..2b9434c 100644 --- a/mutt_crypt.h +++ b/mutt_crypt.h @@ -50,24 +50,6 @@ #define SMIMEBADSIGN (APPLICATION_SMIME | BADSIGN) #define SMIMEOPAQUE (APPLICATION_SMIME | SIGNOPAQUE) - -/* WITHCRYPTO actually replaces ifdefs so make the code more readable. - Because it is defined as a constant and known at compile time, the - compiler can do dead code elimination and thus it behaves - effectively as a conditional compile directive. It is set to false - if no crypto backend is configures or to a bit vector denoting the - configured backends. */ -#if (defined(CRYPT_BACKEND_CLASSIC_PGP) && defined(CRYPT_BACKEND_CLASSIC_SMIME)) || defined (CRYPT_BACKEND_GPGME) -# define WithCrypto (APPLICATION_PGP | APPLICATION_SMIME) -#elif defined(CRYPT_BACKEND_CLASSIC_PGP) -# define WithCrypto APPLICATION_PGP -#elif defined(CRYPT_BACKEND_CLASSIC_SMIME) -# define WithCrypto APPLICATION_SMIME -#else -# define WithCrypto 0 -#endif - - #define KEYFLAG_CANSIGN (1 << 0) #define KEYFLAG_CANENCRYPT (1 << 1) #define KEYFLAG_ISX509 (1 << 2)