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:55:06 +0000 (21:55 -0500)
commit2b3cb2ee94625498e7a7f939216c9bcddef6ec20
treeb78d70f8e7b356c654a48dc315bb35ec73239584
parentbdde44ae8d4709e33c09781c3d37a5da2c7a5e0d
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