always build mutt with pgp + smime support.
[apps/madmutt.git] / curs_main.c
index 6d8421e..53b11c5 100644 (file)
@@ -1512,9 +1512,6 @@ int mutt_index_menu (void)
 
     case OP_DECRYPT_COPY:
     case OP_DECRYPT_SAVE:
-      if (!WithCrypto)
-        break;
-      /* fall thru */
     case OP_COPY_MESSAGE:
     case OP_SAVE:
     case OP_DECODE_COPY:
@@ -2071,8 +2068,6 @@ int mutt_index_menu (void)
       break;
 
     case OP_MAIL_KEY:
-      if (!(WithCrypto & APPLICATION_PGP))
-        break;
       CHECK_ATTACH;
       ci_send_message (SENDKEY, NULL, NULL, NULL, NULL);
       menu->redraw = REDRAW_FULL;
@@ -2080,8 +2075,6 @@ int mutt_index_menu (void)
 
 
     case OP_EXTRACT_KEYS:
-      if (!WithCrypto)
-        break;
       CHECK_MSGCOUNT;
       CHECK_VISIBLE;
       crypt_extract_keys_from_messages (tag ? NULL : CURHDR);
@@ -2090,8 +2083,6 @@ int mutt_index_menu (void)
 
 
     case OP_CHECK_TRADITIONAL:
-      if (!(WithCrypto & APPLICATION_PGP))
-        break;
       CHECK_MSGCOUNT;
       CHECK_VISIBLE;
       if (tag || !(CURHDR->security & PGP_TRADITIONAL_CHECKED))