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
  • crypt-gpgme.c

    r5434 r5437  
    20452045              needpass = 0; 
    20462046            } 
    2047           else if (!option (OPTDONTHANDLEPGPKEYS) && 
    2048                    !mutt_strcmp ("PUBLIC KEY BLOCK-----\n", buf + 15)) 
    2049             { 
    2050               needpass = 0; 
    2051               pgp_keyblock =1; 
    2052             }  
     2047          else if (!mutt_strcmp ("PUBLIC KEY BLOCK-----\n", buf + 15)) 
     2048          { 
     2049            needpass = 0; 
     2050            pgp_keyblock = 1; 
     2051          }  
    20532052          else 
    20542053            {