]> granicus.if.org Git - neomutt/commitdiff
Add some missing #ifdefs.
authorRené Clerc <rene@clerc.nl>
Tue, 22 Oct 2002 21:24:07 +0000 (21:24 +0000)
committerRené Clerc <rene@clerc.nl>
Tue, 22 Oct 2002 21:24:07 +0000 (21:24 +0000)
commands.c

index 0565f53380f182c09dbeabc65be6507840115bda..c86d1565aa93b3b6f24a577c1011dac601650c86 100644 (file)
@@ -776,8 +776,10 @@ int mutt_save_message (HEADER *h, int delete,
   if (!mutt_save_confirm (buf, &st))
     return -1;
 
+#if defined(HAVE_PGP) || defined(HAVE_SMIME)
   if (need_passphrase && (decode || decrypt) && !crypt_valid_passphrase(app))
     return -1;
+#endif
   
   mutt_message (_("Copying to %s..."), buf);
   
@@ -934,8 +936,8 @@ void mutt_edit_content_type (HEADER *h, BODY *b, FILE *fp)
       h->security  = 0;
 
     h->security |= crypt_query (b);
-#endif
   }
+#endif
 }