Show
Ignore:
Timestamp:
2003-12-30 05:04:20 (5 years ago)
Author:
Thomas Roessler <roessler@…>
Branch:
HEAD
Message:

Handle partially signed messages more reasonably. See #1743.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • commands.c

    r3547 r3549  
    184184          mutt_error ( _("S/MIME certificate owner does not match sender.")); 
    185185      } 
     186      else if (cur->security & PARTSIGN) 
     187        mutt_message (_("Warning: Part of this message has not been signed.")); 
    186188      else if (cur->security & SIGN || cur->security & BADSIGN) 
    187189        mutt_error ( _("S/MIME signature could NOT be verified.")); 
     
    190192    if (WithCrypto  
    191193        && (cur->security & APPLICATION_PGP) && (cmflags & M_CM_VERIFY)) 
    192       mutt_message ((cur->security & GOODSIGN) ? 
    193                     _("PGP signature successfully verified.") : 
    194                     _("PGP signature could NOT be verified.")); 
     194    { 
     195      if (cur->security & GOODSIGN) 
     196        mutt_message (_("PGP signature successfully verified.")); 
     197      else if (cur->security & PARTSIGN) 
     198        mutt_message (_("Warning: Part of this message has not been signed.")); 
     199      else 
     200        mutt_message (_("PGP signature could NOT be verified.")); 
     201    } 
    195202 
    196203    /* Invoke the builtin pager */