gpg: Fix honoring --cert-digest-algo when recreating a cert
authorChristian Aistleitner <christian@quelltextlich.at>
Sun, 14 Oct 2012 18:30:20 +0000 (20:30 +0200)
committerWerner Koch <wk@gnupg.org>
Fri, 11 Jan 2013 12:48:59 +0000 (13:48 +0100)
commit60c58766aeb847b769372fa981f79abac6014500
tree6e449665dd313d8a8958c19c21b84ac05cdfcf88
parent7a638c094fa1aa7ed1d9caf085af9980a2664d64
gpg: Fix honoring --cert-digest-algo when recreating a cert

* g10/sign.c (update_keysig_packet): Override original signature's
digest algo in hashed data and for hash computation.
g10/sign.c