-
-/* 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
-
-