Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pppd: Fix logical error in comparing valid encryption policies (#262)
RFC2548 describes the proper values of the MS-MPPE-Encryption-Policy attribute. and it can only hold 2 values: 1 (encryption allowed) and 2 (encryption required). See https://tools.ietf.org/html/rfc2548, section 2.4.4 The correct comparison should be made with an && and not a ||. This fixes github issue #218 Signed-off-by: Eivind Naess <eivnaes@yahoo.com>
- Loading branch information