Home GnuPG

cipher: Fix gcry_pk_hash_verify for explicit hash.

Description

cipher: Fix gcry_pk_hash_verify for explicit hash.

* cipher/pubkey.c (_gcry_pk_verify_md): Implement support of explicit
hash.
* tests/t-ecdsa.c (one_test_sexp): Use explicit hash.
  • GnuPG-bug-id: T6066
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>