gnupg/g10 (ChangeLog import.c keyedit.c keygen.c main.h)

cvs user dshaw cvs@cvs.gnupg.org
Sun, 01 Dec 2002 21:59:04 +0100


    Date: Sunday, December 1, 2002 @ 21:59:04
  Author: dshaw
    Path: /cvs/gnupg/gnupg/g10

Modified: ChangeLog import.c keyedit.c keygen.c main.h

* keyedit.c (menu_expire): Don't lose key flags when changing the
expiration date of a subkey.  This is not the most optimal solution, but
it is minimal change on the stable branch.

* main.h, keygen.c (do_copy_key_flags): New function to copy key flags, if
any, from one sig to another. (do_add_key_expire): New function to add key
expiration to a sig. (keygen_copy_flags_add_expire): New version of
keygen_add_key_expire that also copies key flags.
(keygen_add_key_flags_and_expire): Use do_add_key_expire.

* import.c (fix_hkp_corruption): Comment.


-----------+
 ChangeLog |   15 +++++++++++++++
 import.c  |    4 ++++
 keyedit.c |    7 ++++++-
 keygen.c  |   58 ++++++++++++++++++++++++++++++++++++++++------------------
 main.h    |    7 ++++++-
 5 files changed, 71 insertions(+), 20 deletions(-)