*/
-#ifdef CRYPT_BACKEND_CLASSIC_PGP
extern struct crypt_module_specs crypt_mod_pgp_classic;
-#endif
-
-#ifdef CRYPT_BACKEND_CLASSIC_SMIME
extern struct crypt_module_specs crypt_mod_smime_classic;
-#endif
#ifdef CRYPT_BACKEND_GPGME
extern struct crypt_module_specs crypt_mod_pgp_gpgme;
void crypt_init (void)
{
-#ifdef CRYPT_BACKEND_CLASSIC_PGP
if (
#ifdef CRYPT_BACKEND_GPGME
(!option (OPTCRYPTUSEGPGME))
#endif
)
crypto_module_register (&crypt_mod_pgp_classic);
-#endif
-#ifdef CRYPT_BACKEND_CLASSIC_SMIME
if (
#ifdef CRYPT_BACKEND_GPGME
(!option (OPTCRYPTUSEGPGME))
#endif
)
crypto_module_register (&crypt_mod_smime_classic);
-#endif
if (option (OPTCRYPTUSEGPGME)) {
#ifdef CRYPT_BACKEND_GPGME
/* Show a message that a backend will be invoked. */
void crypt_invoke_message (int type)
{
- if ((WithCrypto & APPLICATION_PGP) && (type & APPLICATION_PGP)) {
+ if (type & APPLICATION_PGP) {
mutt_message _("Invoking PGP...");
}
- else if ((WithCrypto & APPLICATION_SMIME) && (type & APPLICATION_SMIME)) {
+ else if (type & APPLICATION_SMIME) {
mutt_message _("Invoking S/MIME...");
}
}