opnsense-src/sbin/md5
Gordon Bergling 406f9fd0a7 md5.1: Fix the GNU mode example when using a digest file
The last example in the manpage md5(1) wants to demonstrate
GNU mode (md5sum), but uses BSD mode (md5) instead.

In GNU mode, the -c option does not compare against a hash string
passed as parameter. Instead, it expects a digest file,
as created under the name digest for /boot/loader.conf in
the example above.

PR:	276560
Reviewed by:	mhorne, des
Differential Revision:	https://reviews.freebsd.org/D44098

(cherry picked from commit f3343fe4a64fe6a25b4e09ab9061a45f82e5abc1)
2024-03-15 10:12:48 +01:00
..
tests md5: Accept "-" as alias for stdin. 2024-02-24 13:12:49 +01:00
Makefile md5: Enter capability mode earlier 2024-02-15 09:16:07 -05:00
Makefile.depend Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
Makefile.depend.host Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
md5.1 md5.1: Fix the GNU mode example when using a digest file 2024-03-15 10:12:48 +01:00
md5.c md5: Accept "-" as alias for stdin. 2024-02-24 13:12:49 +01:00