Changeset 1516:b26d80b098f3 for commands.c
- Timestamp:
- 2000-02-10 11:46:06 (9 years ago)
- Branch:
- HEAD
- Files:
-
- 1 modified
-
commands.c (modified) (14 diffs)
Legend:
- Unmodified
- Added
- Removed
-
commands.c
r1448 r1516 37 37 38 38 39 #ifdef _PGPPATH39 #ifdef HAVE_PGP 40 40 #include "pgp.h" 41 41 #endif … … 78 78 79 79 80 #ifdef _PGPPATH80 #ifdef HAVE_PGP 81 81 /* see if PGP is needed for this message. if so, we should exit curses */ 82 82 if (cur->pgp) … … 140 140 } 141 141 142 #ifdef _PGPPATH142 #ifdef HAVE_PGP 143 143 /* update PGP information for this message */ 144 144 cur->pgp |= pgp_query (cur->content); … … 149 149 pager_t info; 150 150 151 #ifdef _PGPPATH151 #ifdef HAVE_PGP 152 152 if (cur->pgp & PGPGOODSIGN) 153 153 mutt_message _("PGP signature successfully verified."); … … 278 278 279 279 280 #ifdef _PGPPATH280 #ifdef HAVE_PGP 281 281 if (option (OPTPIPEDECODE)) 282 282 { … … 300 300 301 301 302 #ifdef _PGPPATH302 #ifdef HAVE_PGP 303 303 304 304 if(option(OPTPIPEDECODE)) … … 487 487 *chflags = CH_UPDATE_LEN; 488 488 489 #ifdef _PGPPATH489 #ifdef HAVE_PGP 490 490 if (!decode && decrypt && (hdr->pgp & PGPENCRYPT)) 491 491 { … … 539 539 { 540 540 int i, need_buffy_cleanup; 541 #ifdef _PGPPATH541 #ifdef HAVE_PGP 542 542 int need_passphrase = 0; 543 543 #endif … … 560 560 if (h) 561 561 { 562 #ifdef _PGPPATH562 #ifdef HAVE_PGP 563 563 need_passphrase = h->pgp & PGPENCRYPT; 564 564 #endif … … 581 581 { 582 582 mutt_default_save (buf, sizeof (buf), h); 583 #ifdef _PGPPATH583 #ifdef HAVE_PGP 584 584 need_passphrase |= h->pgp & PGPENCRYPT; 585 585 #endif … … 620 620 } 621 621 622 #ifdef _PGPPATH622 #ifdef HAVE_PGP 623 623 if(need_passphrase && (decode || decrypt) && !pgp_valid_passphrase()) 624 624 return -1; … … 698 698 } 699 699 700 #ifdef _PGPPATH700 #ifdef HAVE_PGP 701 701 if (h->pgp & PGPENCRYPT) 702 702 { … … 794 794 } 795 795 796 #ifdef _PGPPATH796 #ifdef HAVE_PGP 797 797 if (h) 798 798 { … … 801 801 h->pgp |= pgp_query (b); 802 802 } 803 #endif /* _PGPPATH*/804 805 } 803 #endif /* HAVE_PGP */ 804 805 }
