Lawrence Teo <[EMAIL PROTECTED]> wrote: > Here's a patch against 5.0.1 to allow md5sum.c to support generic BSD > message digest formats. Version 5.0.1 already has support for BSD MD5 > format; this patch modifies the code so that `sha1sum --check' will > also work with BSD-style SHA1 checksum files. ... > 2003-08-22 Lawrence Teo <[EMAIL PROTECTED]> > > * src/md5sum.c (split_3): Accept the BSD format for generic > message digest modes. Currently works with BSD's MD5 and SHA1 > formats since these are the two algorithms presently used in > coreutils. Updated comments to reflect this change. > (bsd_split_3): Updated comments. > > * tests/md5sum/basic-1: New test to make sure that > `md5sum --check' doesn't accept the BSD SHA1 format (adapted > from `check-bsd' test in tests/sha1sum/basic-1). > > * tests/sha1sum/basic-1: New tests for --check exit status > and allow BSD SHA1 format (adapted from tests in > tests/md5sum/basic-1).
Thank you for those patches. I've applied them, with some minor changes. _______________________________________________ Bug-coreutils mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-coreutils