]> git.ozlabs.org Git - ppp.git/commitdiff
make it compile correctly if CHAPMS is not enabled
authorPaul Mackerras <paulus@samba.org>
Sun, 16 Feb 2003 22:32:14 +0000 (22:32 +0000)
committerPaul Mackerras <paulus@samba.org>
Sun, 16 Feb 2003 22:32:14 +0000 (22:32 +0000)
pppd/chap.c

index 4e800be21847fb75e45549c5168866fb6abd682a..10673f26648df469b44d00af3b5d64f1294b89fb 100644 (file)
@@ -49,7 +49,7 @@
  * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
 
  * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
 
-#define RCSID  "$Id: chap.c,v 1.38 2002/12/04 23:03:32 paulus Exp $"
+#define RCSID  "$Id: chap.c,v 1.39 2003/02/16 22:32:14 paulus Exp $"
 
 /*
  * TODO:
 
 /*
  * TODO:
@@ -100,6 +100,7 @@ static option_t chap_option_list[] = {
       "Set max #xmits for challenge", OPT_PRIO },
     { "chap-interval", o_int, &chap[0].chal_interval,
       "Set interval for rechallenge", OPT_PRIO },
       "Set max #xmits for challenge", OPT_PRIO },
     { "chap-interval", o_int, &chap[0].chal_interval,
       "Set interval for rechallenge", OPT_PRIO },
+#ifdef MSCHAP
 #ifdef MSLANMAN
     { "ms-lanman", o_bool, &ms_lanman,
       "Use LanMan passwd when using MS-CHAP", 1 },
 #ifdef MSLANMAN
     { "ms-lanman", o_bool, &ms_lanman,
       "Use LanMan passwd when using MS-CHAP", 1 },
@@ -109,6 +110,7 @@ static option_t chap_option_list[] = {
       "specify CHAP challenge" },
     { "mschap2-peer-challenge", o_string, &mschap2_peer_challenge,
       "specify CHAP peer challenge" },
       "specify CHAP challenge" },
     { "mschap2-peer-challenge", o_string, &mschap2_peer_challenge,
       "specify CHAP peer challenge" },
+#endif
 #endif
     { NULL }
 };
 #endif
     { NULL }
 };