Honor --cert-digest-algo when recreating a cert.
authorDavid Shaw <dshaw@jabberwocky.com>
Wed, 1 Feb 2012 02:30:05 +0000 (21:30 -0500)
committerDavid Shaw <dshaw@jabberwocky.com>
Wed, 1 Feb 2012 02:30:05 +0000 (21:30 -0500)
commit509fe4ce5d50089776b072c33c199798d3defe8c
tree0eb4e2334ee4314b0198af4988195ae60940568c
parent75b347a2a191ad479123a57f935e27b78e079188
Honor --cert-digest-algo when recreating a cert.

* g10/sign.c (update_keysig_packet): Honor --cert-digest-algo when
  recreating a cert.

This is used by various things in --edit-key like setpref, primary,
etc.  Suggested by Christian Aistleitner.
g10/sign.c