Home GnuPG

tests: Test gcry_pk_hash_sign w/explicit hash algo
04960f5179cdUnpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

tests: Test gcry_pk_hash_sign w/explicit hash algo

  • tests/t-ecdsa.c (one_test_sexp): Re-run signature operation with hash algorithm explicitly specified in data_tmpl as documented in the manpage.

Cherry-picked master commit of:
45a139b166a3fa18eb1eddf7e02b5cdd890a6c37

The code path to decode the explicit hash algorithm specification in
data_tmpl was previously not covered by tests. Verifying with
a data_tmpl that contains the hash algorithm as string currently fails
and should be enabled later. See also https://dev.gnupg.org/T6066.

  • Signed-off-by: Clemens Lang <cllang@redhat.com>

Details

Provenance
neverpanicAuthored on Jul 6 2022, 4:55 PM
gniibeCommitted on Jul 13 2022, 4:42 AM
Parents
rCbc01c770c757: random: Fix rndjent for Windows.
Branches
Unknown
Tags
Unknown

Event Timeline