diff options
author | 2015-01-15 23:19:48 +0000 | |
---|---|---|
committer | 2015-01-15 23:19:48 +0000 | |
commit | f570330895cc844a096d93e25f4928e4091036d0 (patch) | |
tree | d812f460e9b201e3aa759651963bfa0643fddca5 /usr.sbin/pppd/lcp.c | |
parent | Remove a variable no longer used in re_tick(). (diff) | |
download | wireguard-openbsd-f570330895cc844a096d93e25f4928e4091036d0.tar.xz wireguard-openbsd-f570330895cc844a096d93e25f4928e4091036d0.zip |
fully remove disabled mschap support, which does weird DES things.
(already won't build for some time since the removal of md4)
ok naddy
Diffstat (limited to 'usr.sbin/pppd/lcp.c')
-rw-r--r-- | usr.sbin/pppd/lcp.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/usr.sbin/pppd/lcp.c b/usr.sbin/pppd/lcp.c index 278ea6cc637..9f73296f892 100644 --- a/usr.sbin/pppd/lcp.c +++ b/usr.sbin/pppd/lcp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lcp.c,v 1.10 2009/10/27 23:59:53 deraadt Exp $ */ +/* $OpenBSD: lcp.c,v 1.11 2015/01/15 23:19:48 tedu Exp $ */ /* * lcp.c - PPP Link Control Protocol. @@ -1312,11 +1312,7 @@ lcp_reqci(f, inp, lenp, reject_if_disagree) break; } GETCHAR(cichar, p); /* get digest type*/ - if (cichar != CHAP_DIGEST_MD5 -#ifdef CHAPMS - && cichar != CHAP_MICROSOFT -#endif - ) { + if (cichar != CHAP_DIGEST_MD5) { orc = CONFNAK; PUTCHAR(CI_AUTHTYPE, nakp); PUTCHAR(CILEN_CHAP, nakp); |