Home GnuPG
Diffusion GnuPG 3e67b50490ae

gpg: Copy the correct digest for use by TOFU.
3e67b50490aeUnpublished

Unpublished Commit · Learn More

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

Description

gpg: Copy the correct digest for use by TOFU.

* g10/mainproc.c (do_check_sig): Use the current digest algo.

Note that the digest context may have several algos enabled, which is
is case if keys with different hash preferences signed the data.

  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Sep 1 2016, 12:41 PM
Parents
rG4cbd2a690c5e: g10: Be careful to not be in a transaction during long operations
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rG3e67b50490ae: gpg: Copy the correct digest for use by TOFU. (authored by Werner Koch <wk@gnupg.org>).Sep 1 2016, 12:52 PM