summaryrefslogtreecommitdiff
path: root/pppd/chap_ms.c
diff options
context:
space:
mode:
authorDavid F. Skoll <dfs@roaringpenguin.com>2002-03-01 14:39:19 +0000
committerDavid F. Skoll <dfs@roaringpenguin.com>2002-03-01 14:39:19 +0000
commitc062322f9e8757b85a3c2281a3190d8af14bcd9b (patch)
tree673d342c5fd209221f9924f8369f0bd3476dd7a9 /pppd/chap_ms.c
parenta6b70c095f5e9fc248b409a8a711fe4bb190c61d (diff)
downloadppp-c062322f9e8757b85a3c2281a3190d8af14bcd9b.tar.gz
Large patch from Frank Cusack <fcusack@fcusack.com> to add proper
support for MS-CHAP (client and server are now supported.) Allow another plugin to select a different RADIUS server. Modified radiusclient library to include two new APIs: rc_acct_using_server and rc_auth_using_server in which caller specifies which RADIUS servers to use, instead of using the default ones in the config file. The /etc/radiusclient/servers file must still contain secrets for those servers.
Diffstat (limited to 'pppd/chap_ms.c')
-rw-r--r--pppd/chap_ms.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/pppd/chap_ms.c b/pppd/chap_ms.c
index eb0c2c1..9a7002c 100644
--- a/pppd/chap_ms.c
+++ b/pppd/chap_ms.c
@@ -31,7 +31,7 @@
* You should also use DOMAIN\\USERNAME as described in README.MSCHAP80
*/
-#define RCSID "$Id: chap_ms.c,v 1.15 1999/08/13 06:46:12 paulus Exp $"
+#define RCSID "$Id: chap_ms.c,v 1.16 2002/03/01 14:39:18 dfs Exp $"
#ifdef CHAPMS
@@ -57,14 +57,6 @@
static const char rcsid[] = RCSID;
-typedef struct {
- u_char LANManResp[24];
- u_char NTResp[24];
- u_char UseNT; /* If 1, ignore the LANMan response field */
-} MS_ChapResponse;
-/* We use MS_CHAP_RESPONSE_LEN, rather than sizeof(MS_ChapResponse),
- in case this struct gets padded. */
-
static void ChallengeResponse __P((u_char *, u_char *, u_char *));
static void DesEncrypt __P((u_char *, u_char *, u_char *));