summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/t-ecdsa.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/t-ecdsa.c b/tests/t-ecdsa.c
index 725fcb4f..d36d217b 100644
--- a/tests/t-ecdsa.c
+++ b/tests/t-ecdsa.c
@@ -487,10 +487,7 @@ one_test_sexp (const char *curvename, const char *sha_alg,
fail ("gcry_pk_hash_verify failed for test: %s",
gpg_strerror (err));
- /* TODO Verifying with data_tmpl2 crashes because gcry_pk_hash_verify()
- * does not support specifying the hash algorithm explicitly. See
- * https://dev.gnupg.org/T6066, which tracks this problem. */
- err = gcry_pk_hash_verify (s_sig2, data_tmpl, s_pk, hd, ctx);
+ err = gcry_pk_hash_verify (s_sig2, data_tmpl2, s_pk, hd, ctx);
if (err)
fail ("gcry_pk_hash_verify with explicit hash algorithm %s failed: %s",
gcry_md_algo_name (md_algo), gpg_strerror (err));