]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/chap.h
Made setipaddr() non-static so it can be called from plugins (particularly
[ppp.git] / pppd / chap.h
index 5e69d24b85c0c830f0bc670ff7b477fbd67e6624..313efff973a5a777a4dd84d67619db56161fed30 100644 (file)
@@ -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.6 1996/07/01 01:12:21 paulus Exp $
+ * $Id: chap.h,v 1.8 1999/11/15 01:44:41 paulus Exp $
  */
 
 #ifndef __CHAP_INCLUDE__
@@ -55,9 +55,9 @@
 /*
  *  Challenge lengths (for challenges we send) and other limits.
  */
-#define MIN_CHALLENGE_LENGTH   32
-#define MAX_CHALLENGE_LENGTH   64
-#define MAX_RESPONSE_LENGTH    16      /* sufficient for MD5 */
+#define MIN_CHALLENGE_LENGTH   16
+#define MAX_CHALLENGE_LENGTH   24
+#define MAX_RESPONSE_LENGTH    64      /* sufficient for MD5 or MS-CHAP */
 
 /*
  * Each interface is described by a chap structure.