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:41:03 +0000 (21:41 -0500)
commit258192d4d453e27c4c54dbeefaae901ef94b5f4b
treeaeb99ab6bac8586777e4c1da64b5b67d196e606f
parent4a9d69ca87d4e21b015b7ceab6b2b6ba3809ec22
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