summaryrefslogtreecommitdiff
path: root/authenticate.c
diff options
context:
space:
mode:
Diffstat (limited to 'authenticate.c')
-rw-r--r--authenticate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/authenticate.c b/authenticate.c
index 5ecce15f..a4835a6d 100644
--- a/authenticate.c
+++ b/authenticate.c
@@ -55,7 +55,7 @@ static void gen_challenge(char *addr, char *challenge)
memset(input, 0, sizeof(input));
- strlcpy((char *)input, addr, 16);
+ strlcpy((char *)input, addr, 17);
gettimeofday(&tv, NULL);
SIVAL(input, 16, tv.tv_sec);
SIVAL(input, 20, tv.tv_usec);