diff options
| author | Brian Somers <brian@FreeBSD.org> | 1999-07-15 02:02:51 +0000 |
|---|---|---|
| committer | Brian Somers <brian@FreeBSD.org> | 1999-07-15 02:02:51 +0000 |
| commit | 55b04d88d58d429dc98408b6a9cb80e461d0fabc (patch) | |
| tree | b891d7c8f10f1a6ecb7653e69ed632dd3426aea1 | |
| parent | d33eb4c80253d0b44598aebf524341689db52cf7 (diff) | |
Notes
| -rw-r--r-- | usr.sbin/ppp/chap.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.sbin/ppp/chap.c b/usr.sbin/ppp/chap.c index d9d63bb594bc..f2dac18b903f 100644 --- a/usr.sbin/ppp/chap.c +++ b/usr.sbin/ppp/chap.c @@ -17,7 +17,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: chap.c,v 1.51 1999/06/02 15:58:55 brian Exp $ + * $Id: chap.c,v 1.52 1999/06/09 08:47:29 brian Exp $ * * TODO: */ @@ -543,7 +543,7 @@ chap_Input(struct bundle *bundle, struct link *l, struct mbuf *bp) struct chap *chap = &p->dl->chap; char *name, *key, *ans; int len, nlen; - u_char alen, end; + u_char alen; #ifdef HAVE_DES int lanman; #endif @@ -694,6 +694,8 @@ chap_Input(struct bundle *bundle, struct link *l, struct mbuf *bp) nlen = strlen(name); #ifndef NORADIUS if (*bundle->radius.cfg.file) { + u_char end; + end = chap->challenge.local[*chap->challenge.local+1]; chap->challenge.local[*chap->challenge.local+1] = '\0'; radius_Authenticate(&bundle->radius, &chap->auth, |
