<<< Date Index >>>     <<< Thread Index >>>

keymap.c: HAVE_GPGME -> CRYPT_BACKEND_GPGME?



While looking through the code for a proper fix to bug #3300, I found
the following in keymap.c:

 { "smime", MENU_SMIME },
 #ifdef HAVE_GPGME
 { "key_select_pgp",    MENU_KEY_SELECT_PGP },
 { "key_select_smime",  MENU_KEY_SELECT_SMIME },
 #endif

whereas lateron in the same file:

 #ifdef CRYPT_BACKEND_GPGME
 create_bindings (OpPgp, MENU_KEY_SELECT_PGP);
 create_bindings (OpSmime, MENU_KEY_SELECT_SMIME);
 #endif

and:

 % grep -Fw HAVE_GPGME mutt-1.5.20/*
 mutt-1.5.20/keymap.c:#ifdef HAVE_GPGME
 %

so it looks as if HAVE_GPGME will never actually be defined, so the
HAVE_GPGME should just be replaced with CRYPT_BACKEND_GPGME in keymap.c?


-- 
Fabian Groffen
Gentoo on a different level