Show
Ignore:
Timestamp:
1999-06-03 00:27:43 (9 years ago)
Author:
Thomas Roessler <roessler@…>
Branch:
HEAD
Message:

Experimental: New PGP invocation interface. The invocations are done
through formats, so all this should fit more cleanly into mutt now.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • compose.c

    r1002 r1052  
    133133  char input_micalg[SHORT_STRING]; 
    134134 
    135   struct pgp_vinfo *pgp = pgp_get_vinfo(PGP_SIGN); 
    136  
    137135  switch (mutt_multi_choice (_("(e)ncrypt, (s)ign, sign (a)s, (b)oth, select (m)ic algorithm, or (f)orget it? "), 
    138136                             _("esabmf"))) 
     
    150148    unset_option(OPTPGPCHECKTRUST); 
    151149 
    152     if (pgp && (p = pgp_ask_for_key (pgp, _("Sign as: "), NULL, KEYFLAG_CANSIGN, PGP_PUBRING))) 
     150    if ((p = pgp_ask_for_key (_("Sign as: "), NULL, KEYFLAG_CANSIGN, PGP_PUBRING))) 
    153151    { 
    154152      snprintf (input_signas, sizeof (input_signas), "0x%s", pgp_keyid (p));