cksum -c: support checking base64 digests in reverse mode too.
authormillert <millert@openbsd.org>
Tue, 31 Oct 2023 19:37:17 +0000 (19:37 +0000)
committermillert <millert@openbsd.org>
Tue, 31 Oct 2023 19:37:17 +0000 (19:37 +0000)
commit6f4f14eb814d40d4dfaef3678e298637c5fac18c
treec5823cd773183fbbd5ab2259b6182bb3fa6756ec
parentf36d3d40ed7e49c3a6164fdcff589e9bdeb578dc
cksum -c: support checking base64 digests in reverse mode too.

In reverse mode, the entry does not include the digest algorithm
so the specified algorithm (or the default) is used when checking.
OK deraadt@
bin/md5/md5.c