diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2004-05-02 17:35:09 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2004-05-02 17:35:09 +0000 |
commit | f7c264cb8b1df6686e190fe61da1eb83d0639ae0 (patch) | |
tree | c253d16a859271fe8c5b1461e1cd87326c832138 /usr.sbin/mtree/create.c | |
parent | 772e9df287fdc82a3bbbcc60f204c1d66cce1671 (diff) |
Use MD5_DIGEST_STRING_LENGTH
Diffstat (limited to 'usr.sbin/mtree/create.c')
-rw-r--r-- | usr.sbin/mtree/create.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/mtree/create.c b/usr.sbin/mtree/create.c index 3983fc2d4e0..462aafb6be2 100644 --- a/usr.sbin/mtree/create.c +++ b/usr.sbin/mtree/create.c @@ -1,5 +1,5 @@ /* $NetBSD: create.c,v 1.11 1996/09/05 09:24:19 mycroft Exp $ */ -/* $OpenBSD: create.c,v 1.20 2003/06/02 23:36:54 millert Exp $ */ +/* $OpenBSD: create.c,v 1.21 2004/05/02 17:35:08 millert Exp $ */ /*- * Copyright (c) 1989, 1993 @@ -34,7 +34,7 @@ #if 0 static const char sccsid[] = "@(#)create.c 8.1 (Berkeley) 6/6/93"; #else -static const char rcsid[] = "$OpenBSD: create.c,v 1.20 2003/06/02 23:36:54 millert Exp $"; +static const char rcsid[] = "$OpenBSD: create.c,v 1.21 2004/05/02 17:35:08 millert Exp $"; #endif #endif /* not lint */ @@ -206,7 +206,7 @@ statf(indent, p) output(indent, &offset, "cksum=%lu", val); } if (keys & F_MD5 && S_ISREG(p->fts_statp->st_mode)) { - char *md5digest, buf[33]; + char *md5digest, buf[MD5_DIGEST_STRING_LENGTH]; md5digest = MD5File(p->fts_accpath,buf); if (!md5digest) |