Pádraig Brady <[email protected]> writes:

> * src/digest.c (split_3): Look up the provided tag with -a sha2
> because there is not a 1:1 mapping between them.
> * tests/cksum/cksum-c.sh: Add a test case.
> * NEWS: Mention the bug fix.
> ---
>  NEWS                   |  4 ++++
>  src/digest.c           |  8 ++++++--
>  tests/cksum/cksum-c.sh | 13 +++++++++----
>  3 files changed, 19 insertions(+), 6 deletions(-)
>
> diff --git a/NEWS b/NEWS
> index 428262deb..28ca66144 100644
> --- a/NEWS
> +++ b/NEWS
> @@ -11,6 +11,10 @@ GNU coreutils NEWS                                    -*- 
> outline -*-
>    for all length adjustable algorithms (blake2b, sha2, sha3).
>    [bug introduced in coreutils-9.2]
>  
> +  'cksum --check -a sha2' now supports tagged format.
> +  '-a sha2' is not required with tagged format, but should be accepted.
> +  [bug introduced in coreutils-9.8]

Thanks, I noticed this yesterday too. But did not get around to writing
a fix.

Collin

Reply via email to