1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

Make most of the selftests work.

Note that there is still a problem with tests/openpgp/sigs.test while
using the option --digest-algo SHA256.
This commit is contained in:
Werner Koch 2011-01-21 15:22:41 +01:00
parent 90b0ff23b7
commit 27929981fc
6 changed files with 29 additions and 35 deletions

View file

@ -298,6 +298,9 @@ do_sign (PKT_public_key *pksk, PKT_signature *sig,
{
PKT_public_key *pk = xmalloc_clear (sizeof *pk);
log_debug ("checking created signature algo=%d\n", mdalgo);
log_printhex ("md:", dp, gcry_md_get_algo_dlen (mdalgo));
if (get_pubkey (pk, sig->keyid ))
err = gpg_error (GPG_ERR_NO_PUBKEY);
else