diff --git a/tgetpass.c b/tgetpass.c index 4965c9076..200c1b384 100644 --- a/tgetpass.c +++ b/tgetpass.c @@ -68,7 +68,11 @@ static char rcsid[] = "$Id$"; # ifdef HAVE_C2_SECURITY # define _PASSWD_LEN 24 # else -# define _PASSWD_LEN 8 +# if defined(HAVE_DCE) || defined(HAVE_KERB4) || defined(HAVE_KERB5) +# define _PASSWD_LEN 256 +# else +# define _PASSWD_LEN 8 +# endif /* HAVE_DCE || HAVE_KERB[45] */ # endif /* HAVE_C2_SECURITY */ #endif /* _PASSWD_LEN */