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>