X-Git-Url: https://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=pppd%2Fchap.c;h=99b11758bf5989b64a1afa6bb2d0e95e83530ec9;hp=d192fe618d39d856ae026b33c8439326f851c567;hb=1a0d0104b71b71d18f9bf58591cc53d9b81f79a9;hpb=e971fbd059bf01603bfd63ea0b32e3745cf95a82 diff --git a/pppd/chap.c b/pppd/chap.c index d192fe6..99b1175 100644 --- a/pppd/chap.c +++ b/pppd/chap.c @@ -19,7 +19,7 @@ */ #ifndef lint -static char rcsid[] = "$Id: chap.c,v 1.9 1995/12/18 03:46:19 paulus Exp $"; +static char rcsid[] = "$Id: chap.c,v 1.11 1996/04/04 03:35:58 paulus Exp $"; #endif /* @@ -39,7 +39,7 @@ static char rcsid[] = "$Id: chap.c,v 1.9 1995/12/18 03:46:19 paulus Exp $"; struct protent chap_protent = { PPP_CHAP, ChapInit, ChapInput, ChapProtocolReject, ChapLowerUp, ChapLowerDown, NULL, NULL, - ChapPrintPkt, NULL, 1, "CHAP" + ChapPrintPkt, NULL, 1, "CHAP", NULL, NULL }; chap_state chap[NUM_PPP]; /* CHAP state; one for each unit */ @@ -430,9 +430,7 @@ ChapReceiveResponse(cstate, inp, id, len) int secret_len, old_state; int code; char rhostname[256]; - u_char buf[256]; MD5_CTX mdContext; - u_char msg[256]; char secret[MAXSECRETLEN]; CHAPDEBUG((LOG_INFO, "ChapReceiveResponse: Rcvd id %d.", id)); @@ -584,9 +582,6 @@ ChapReceiveFailure(cstate, inp, id, len) u_char id; int len; { - u_char msglen; - u_char *msg; - CHAPDEBUG((LOG_INFO, "ChapReceiveFailure: Rcvd id %d.", id)); if (cstate->clientstate != CHAPCS_RESPONSE) {