Changeset 5437:48e90b82a4ee for pgp.c

Show
Ignore:
Timestamp:
2008-07-01 14:49:21 (5 months ago)
Author:
Brendan Cully <brendan@…>
Branch:
HEAD
Message:

Handle DONTHANDLEPGPKEYS in handler instead of crypto modules.
This lets gpgme and classic pgp share a bit of logic, and unbreaks key
extraction at least for classic PGP.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pgp.c

    r5422 r5437  
    294294        needpass = 0; 
    295295      } 
    296       else if (!option (OPTDONTHANDLEPGPKEYS) && 
    297                mutt_strcmp ("PUBLIC KEY BLOCK-----\n", buf + 15) == 0) 
     296      else if (!mutt_strcmp ("PUBLIC KEY BLOCK-----\n", buf + 15)) 
    298297      { 
    299298        needpass = 0; 
    300         pgp_keyblock =1; 
     299        pgp_keyblock = 1; 
    301300      }  
    302301      else