Fix typo that causes CHAP RESPONSEs to *always*

be damned M$ responses if you've got DES.
This commit is contained in:
Brian Somers 1997-11-11 13:08:12 +00:00
parent f960587c7b
commit 3d8ad715f4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=31118

View File

@ -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;