summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/auth.c
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1997-11-09 14:18:55 +0000
committerbrian <brian@FreeBSD.org>1997-11-09 14:18:55 +0000
commit164425f5cee190963d2f6bc9f9c5fc4181182f8c (patch)
treedd37825b2d0f5f8fda2bf8f5525157e9f00b4536 /usr.sbin/ppp/auth.c
parent2d2f81e9b5208b95bb5fac829423ec588f2fe578 (diff)
downloadFreeBSD-src-164425f5cee190963d2f6bc9f9c5fc4181182f8c.zip
FreeBSD-src-164425f5cee190963d2f6bc9f9c5fc4181182f8c.tar.gz
Increase chat script sizes to 512
Requested by: Michael Reifenberger <root@totum.plaut.de>
Diffstat (limited to 'usr.sbin/ppp/auth.c')
-rw-r--r--usr.sbin/ppp/auth.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/ppp/auth.c b/usr.sbin/ppp/auth.c
index 048ad84..516f92c 100644
--- a/usr.sbin/ppp/auth.c
+++ b/usr.sbin/ppp/auth.c
@@ -17,7 +17,7 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $Id: auth.c,v 1.17 1997/09/09 21:51:38 brian Exp $
+ * $Id: auth.c,v 1.18 1997/10/26 01:02:07 brian Exp $
*
* TODO:
* o Implement check against with registered IP addresses.
@@ -72,7 +72,7 @@ LocalAuthValidate(char *fname, char *system, char *key)
FILE *fp;
int n;
char *vector[3];
- char buff[200];
+ char buff[LINE_LEN];
LOCAL_AUTH_VALID rc;
rc = NOT_FOUND; /* No system entry */
@@ -107,7 +107,7 @@ AuthValidate(char *fname, char *system, char *key)
FILE *fp;
int n;
char *vector[4];
- char buff[200];
+ char buff[LINE_LEN];
char passwd[100];
fp = OpenSecret(fname);
@@ -150,7 +150,7 @@ AuthGetSecret(char *fname, char *system, int len, int setaddr)
FILE *fp;
int n;
char *vector[4];
- char buff[200];
+ char buff[LINE_LEN];
static char passwd[100];
fp = OpenSecret(fname);
OpenPOWER on IntegriCloud