[git] GnuPG - branch, STABLE-BRANCH-2-0, updated. gnupg-2.0.19-67-g3cfe527
by Christian Aistleitner
cvs at cvs.gnupg.org
Fri Jan 11 13:58:58 CET 2013
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The GNU Privacy Guard".
The branch, STABLE-BRANCH-2-0 has been updated
via 3cfe527fa57167d0477c0f6250ca28e8f4dd1b0e (commit)
from 00c908263206f65a59a4f3e525d716888be132b9 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 3cfe527fa57167d0477c0f6250ca28e8f4dd1b0e
Author: Christian Aistleitner <christian at quelltextlich.at>
Date: Sun Oct 14 20:31:41 2012 +0200
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.
diff --git a/g10/sign.c b/g10/sign.c
index 6cccfed..91f7f84 100644
--- a/g10/sign.c
+++ b/g10/sign.c
@@ -1532,6 +1532,8 @@ update_keysig_packet( PKT_signature **ret_sig,
/* create a new signature packet */
sig = copy_signature (NULL, orig_sig);
+ sig->digest_algo=digest_algo;
+
/* We need to create a new timestamp so that new sig expiration
calculations are done correctly... */
sig->timestamp=make_timestamp();
-----------------------------------------------------------------------
Summary of changes:
g10/sign.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
hooks/post-receive
--
The GNU Privacy Guard
http://git.gnupg.org
More information about the Gnupg-commits
mailing list