summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pppd/chap.c
diff options
context:
space:
mode:
authortedu <tedu@openbsd.org>2015-01-15 23:19:48 +0000
committertedu <tedu@openbsd.org>2015-01-15 23:19:48 +0000
commitf570330895cc844a096d93e25f4928e4091036d0 (patch)
treed812f460e9b201e3aa759651963bfa0643fddca5 /usr.sbin/pppd/chap.c
parentRemove a variable no longer used in re_tick(). (diff)
downloadwireguard-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/chap.c')
-rw-r--r--usr.sbin/pppd/chap.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/usr.sbin/pppd/chap.c b/usr.sbin/pppd/chap.c
index 4f53aa70078..3acb3f9e2a3 100644
--- a/usr.sbin/pppd/chap.c
+++ b/usr.sbin/pppd/chap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: chap.c,v 1.17 2014/05/17 20:31:07 chl Exp $ */
+/* $OpenBSD: chap.c,v 1.18 2015/01/15 23:19:48 tedu Exp $ */
/*
* chap.c - Challenge Handshake Authentication Protocol.
@@ -66,10 +66,6 @@
#include "pppd.h"
#include "chap.h"
-#ifdef CHAPMS
-#include "chap_ms.h"
-#endif
-
/*
* Protocol entry points.
*/
@@ -469,12 +465,6 @@ ChapReceiveChallenge(cstate, inp, id, len)
cstate->resp_length = MD5_SIGNATURE_SIZE;
break;
-#ifdef CHAPMS
- case CHAP_MICROSOFT:
- ChapMS(cstate, rchallenge, rchallenge_len, secret, secret_len);
- break;
-#endif
-
default:
CHAPDEBUG((LOG_INFO, "unknown digest type %d", cstate->resp_type));
return;