freebsd-dev/sbin/md5
Kyle Evans 8d78a0d331 md5: fix *sum -c with missing files
If we fail to open one of the files in the file listing, we still need
to advance `rec` along with `argv` so that the checksum we're checking
against lines up with the file we're hashing.

Tests added both for the -c flag, as well as the -b and -t modes of
the *sum programs.

PR:		267722
Reviewed by:	emaste (earlier version)
MFC after:	3 days
Differential Revision:	https://reviews.freebsd.org/D37374
2023-02-13 00:32:38 -06:00
..
tests md5: fix *sum -c with missing files 2023-02-13 00:32:38 -06:00
Makefile libmd / md5: Add SHA-512/224. 2023-02-06 18:03:04 +01:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
md5.1 libmd / md5: Add SHA-512/224. 2023-02-06 18:03:04 +01:00
md5.c md5: fix *sum -c with missing files 2023-02-13 00:32:38 -06:00