Skip to content
  • Kevin J. McCarthy's avatar
    Fix comparison of flags with multiple bits set. · 47e6c5aa
    Kevin J. McCarthy authored
    PGPENCRYPT, PGPKEY, SMIMEENCRYPT, and SMIMEOPAQUE are all combination
    flags, with multiple bits set.  In a few places these flags were
    bitwise-and'ed incorrectly: expecting a non-zero result to indicate
    all the bits in the flag were set.  Change those to explicitly compare
    the result against the original flag.
    47e6c5aa