]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/chap_ms.c
Large patch from Frank Cusack <fcusack@fcusack.com> to add proper
[ppp.git] / pppd / chap_ms.c
index b7404638cf30d2485eb32e286d033c2120eee234..9a7002ced4201e572762951ec376371bedcd4c56 100644 (file)
@@ -31,9 +31,7 @@
  *   You should also use DOMAIN\\USERNAME as described in README.MSCHAP80
  */
 
-#ifndef lint
-static char rcsid[] = "$Id: chap_ms.c,v 1.13 1999/03/16 03:15:14 paulus Exp $";
-#endif
+#define RCSID  "$Id: chap_ms.c,v 1.16 2002/03/01 14:39:18 dfs Exp $"
 
 #ifdef CHAPMS
 
@@ -57,13 +55,7 @@ static char rcsid[] = "$Id: chap_ms.c,v 1.13 1999/03/16 03:15:14 paulus Exp $";
 #include <des.h>
 #endif
 
-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 const char rcsid[] = RCSID;
 
 
 static void    ChallengeResponse __P((u_char *, u_char *, u_char *));