X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=keymap.c;h=6205baea4850a8f191a91ef0785c23d98a2e13b3;hp=208fce0a56cabe0e02d627c2713aaf7ccea80769;hb=4761fa78a6dfc9437caa6e6e0aac806e50e01c83;hpb=53186676acf2c3b5509a614433eb00a2087cd4ec diff --git a/keymap.c b/keymap.c index 208fce0..6205bae 100644 --- a/keymap.c +++ b/keymap.c @@ -22,7 +22,7 @@ #include "mutt_menu.h" #include "mutt_curses.h" #include "keymap.h" -#include "mutt_crypt.h" +#include #include @@ -529,11 +529,8 @@ void km_init (void) create_bindings (OpAlias, MENU_ALIAS); - if ((WithCrypto & APPLICATION_PGP)) - create_bindings (OpPgp, MENU_PGP); - - if ((WithCrypto & APPLICATION_SMIME)) - create_bindings (OpSmime, MENU_SMIME); + create_bindings (OpPgp, MENU_PGP); + create_bindings (OpSmime, MENU_SMIME); #ifdef CRYPT_BACKEND_GPGME create_bindings (OpPgp, MENU_KEY_SELECT_PGP); @@ -755,7 +752,7 @@ struct binding_t *km_get_table (int menu) return OpQuery; case MENU_PGP: - return (WithCrypto & APPLICATION_PGP) ? OpPgp : NULL; + return OpPgp; #ifdef CRYPT_BACKEND_GPGME case MENU_KEY_SELECT_PGP: