$NetBSD: patch-bi,v 1.1.1.1 1999/10/08 04:34:43 dbj Exp $ --- pppd/chap_ms.h Fri Nov 6 22:55:39 1998 +++ pppd/chap_ms.h Tue Jun 22 18:52:12 1999 @@ -24,10 +24,16 @@ #ifndef __CHAPMS_INCLUDE__ -#define MD4_SIGNATURE_SIZE 16 /* 16 bytes in a MD4 message digest */ -#define MAX_NT_PASSWORD 256 /* Maximum number of (Unicode) chars in an NT password */ - void ChapMS __P((chap_state *, char *, int, char *, int)); +int ChapMS_Resp __P((chap_state *, char *, int, u_char *)); +void ChapMS_v2 __P((chap_state *, char *, int, char *, int)); +int ChapMS_v2_Resp __P((chap_state *, char *, int, u_char *, char *)); +void ChapMS_v2_Auth __P((chap_state *, char *, int, u_char *, char *)); + +int reqchapms(char **); +int nochapms(char **); +int reqchapms_v2(char **); +int nochapms_v2(char **); #define __CHAPMS_INCLUDE__ #endif /* __CHAPMS_INCLUDE__ */