Show
Ignore:
Timestamp:
2000-02-10 11:46:06 (9 years ago)
Author:
Thomas Roessler <roessler@…>
Branch:
HEAD
Message:

PGP-cleanup patch from Roland Rosenfeld. Thanks!

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • commands.c

    r1448 r1516  
    3737 
    3838 
    39 #ifdef _PGPPATH 
     39#ifdef HAVE_PGP 
    4040#include "pgp.h" 
    4141#endif 
     
    7878 
    7979 
    80 #ifdef _PGPPATH 
     80#ifdef HAVE_PGP 
    8181  /* see if PGP is needed for this message.  if so, we should exit curses */ 
    8282  if (cur->pgp) 
     
    140140  } 
    141141 
    142 #ifdef _PGPPATH 
     142#ifdef HAVE_PGP 
    143143  /* update PGP information for this message */ 
    144144  cur->pgp |= pgp_query (cur->content); 
     
    149149    pager_t info; 
    150150 
    151 #ifdef _PGPPATH 
     151#ifdef HAVE_PGP 
    152152    if (cur->pgp & PGPGOODSIGN) 
    153153      mutt_message _("PGP signature successfully verified."); 
     
    278278 
    279279 
    280 #ifdef _PGPPATH 
     280#ifdef HAVE_PGP 
    281281    if (option (OPTPIPEDECODE)) 
    282282    { 
     
    300300 
    301301 
    302 #ifdef _PGPPATH 
     302#ifdef HAVE_PGP 
    303303 
    304304    if(option(OPTPIPEDECODE)) 
     
    487487  *chflags = CH_UPDATE_LEN; 
    488488   
    489 #ifdef _PGPPATH 
     489#ifdef HAVE_PGP 
    490490  if (!decode && decrypt && (hdr->pgp & PGPENCRYPT)) 
    491491  { 
     
    539539{ 
    540540  int i, need_buffy_cleanup; 
    541 #ifdef _PGPPATH 
     541#ifdef HAVE_PGP 
    542542  int need_passphrase = 0; 
    543543#endif 
     
    560560  if (h) 
    561561  { 
    562 #ifdef _PGPPATH 
     562#ifdef HAVE_PGP 
    563563    need_passphrase = h->pgp & PGPENCRYPT; 
    564564#endif 
     
    581581    { 
    582582      mutt_default_save (buf, sizeof (buf), h); 
    583 #ifdef _PGPPATH 
     583#ifdef HAVE_PGP 
    584584      need_passphrase |= h->pgp & PGPENCRYPT; 
    585585#endif 
     
    620620  } 
    621621 
    622 #ifdef _PGPPATH 
     622#ifdef HAVE_PGP 
    623623  if(need_passphrase && (decode || decrypt) && !pgp_valid_passphrase()) 
    624624    return -1; 
     
    698698  } 
    699699 
    700 #ifdef _PGPPATH 
     700#ifdef HAVE_PGP 
    701701  if (h->pgp & PGPENCRYPT) 
    702702  { 
     
    794794  } 
    795795 
    796 #ifdef _PGPPATH 
     796#ifdef HAVE_PGP 
    797797  if (h) 
    798798  { 
     
    801801    h->pgp |= pgp_query (b); 
    802802  } 
    803 #endif /* _PGPPATH */ 
    804  
    805 } 
     803#endif /* HAVE_PGP */ 
     804 
     805}