openbsd-ports/net/radiusd-lucent/patches/patch-radius_src_radiusd_c
2003-06-29 04:48:38 +00:00

24 lines
613 B
Plaintext

$OpenBSD: patch-radius_src_radiusd_c,v 1.2 2003/06/29 04:48:39 avsm Exp $
--- radius/src/radiusd.c.orig Fri Jun 20 14:01:33 2003
+++ radius/src/radiusd.c Fri Jun 20 14:03:24 2003
@@ -72,7 +72,6 @@ static char sccsid[] =
#include <errno.h>
#include <sys/wait.h>
#include <syslog.h>
-#include <crypt.h>
#include "radius.h"
#include "users.h"
@@ -2498,9 +2497,9 @@ const size_t hostnm_len;
#define BUFFER_LEN 256
#define SECRET_LEN 64
-#define SECRET_LEN_S "64"
+#define SECRET_LEN_S "63"
#define HOSTNM_LEN 128
-#define HOSTNM_LEN_S "128"
+#define HOSTNM_LEN_S "127"
int
update_clients()
{