From 3d8ad715f4adb3b61d84da834622c84d6db77427 Mon Sep 17 00:00:00 2001 From: Brian Somers Date: Tue, 11 Nov 1997 13:08:12 +0000 Subject: [PATCH] Fix typo that causes CHAP RESPONSEs to *always* be damned M$ responses if you've got DES. --- usr.sbin/ppp/lcp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.sbin/ppp/lcp.c b/usr.sbin/ppp/lcp.c index ee69d294d140..b81fa13287a7 100644 --- a/usr.sbin/ppp/lcp.c +++ b/usr.sbin/ppp/lcp.c @@ -17,7 +17,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: lcp.c,v 1.42 1997/10/29 01:19:41 brian Exp $ + * $Id: lcp.c,v 1.43 1997/11/08 00:28:07 brian Exp $ * * TODO: * o Validate magic number received from peer. @@ -501,7 +501,7 @@ LcpDecodeConfig(u_char * cp, int plen, int mode_type) memcpy(ackp, cp, length); ackp += length; #ifdef HAVE_DES - VarMSChap = cp[4] = 0x80; + VarMSChap = cp[4] == 0x80; #endif } else if (Acceptable(ConfPap)) { *nakp++ = *cp;