X-Git-Url: http://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=pppd%2Fchap.h;h=016cd83a9543bafb98ceee2a743f70ef2926ec9f;hp=036aef10dfc4cac57cd90160c34c531157429202;hb=aeb204dccc12e94006cada67d68a7a6783e11ab6;hpb=e79f90482eb6f90c3f1fe7732258756d2ea0277f diff --git a/pppd/chap.h b/pppd/chap.h index 036aef1..016cd83 100644 --- a/pppd/chap.h +++ b/pppd/chap.h @@ -30,7 +30,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: chap.h,v 1.5 1996/05/28 00:42:28 paulus Exp $ + * $Id: chap.h,v 1.7 1996/10/08 06:43:27 paulus Exp $ */ #ifndef __CHAP_INCLUDE__ @@ -57,7 +57,7 @@ */ #define MIN_CHALLENGE_LENGTH 32 #define MAX_CHALLENGE_LENGTH 64 -#define MAX_RESPONSE_LENGTH 16 /* sufficient for MD5 */ +#define MAX_RESPONSE_LENGTH 64 /* sufficient for MD5 or MS-CHAP */ /* * Each interface is described by a chap structure. @@ -115,15 +115,8 @@ typedef struct chap_state { extern chap_state chap[]; -void ChapInit __P((int)); void ChapAuthWithPeer __P((int, char *, int)); void ChapAuthPeer __P((int, char *, int)); -void ChapLowerUp __P((int)); -void ChapLowerDown __P((int)); -void ChapInput __P((int, u_char *, int)); -void ChapProtocolReject __P((int)); -int ChapPrintPkt __P((u_char *, int, - void (*) __P((void *, char *, ...)), void *)); extern struct protent chap_protent;