Re: mtree(8): add sha256digest support

2012-07-07 Thread Ingo Schwarze
Ingo Schwarze wrote on Sat, Jul 07, 2012 at 05:22:05PM +0200: > Christian Weisgerber wrote on Sat, Jul 07, 2012 at 03:40:00PM +0200: >> This adds support for the "sha256digest" keyword to create/compare >> SHA2-256 digests of files. In the man page, also replace SHA-1 >> with SHA2-256 in the exam

Re: mtree(8): add sha256digest support

2012-07-07 Thread Ingo Schwarze
Hi Naddy, Christian Weisgerber wrote on Sat, Jul 07, 2012 at 03:40:00PM +0200: > This adds support for the "sha256digest" keyword to create/compare > SHA2-256 digests of files. In the man page, also replace SHA-1 > with SHA2-256 in the examples section. Looks reasonable to me and survived light

Re: mtree(8): add sha256digest support

2012-07-07 Thread Christian Weisgerber
Christian Weisgerber wrote: > --- mtree.8 3 Sep 2010 11:22:36 - 1.35 > +++ mtree.8 7 Jul 2012 13:31:09 - > +The SHA2-256 message digest of the file. > +the same SHA2-256 digest as the original. Actually, NIST usage is "SHA-256" so we should write that and also fix the sha256.

mtree(8): add sha256digest support

2012-07-07 Thread Christian Weisgerber
This adds support for the "sha256digest" keyword to create/compare SHA2-256 digests of files. In the man page, also replace SHA-1 with SHA2-256 in the examples section. ok? Index: compare.c === RCS file: /cvs/src/usr.sbin/mtree/comp