STABLE-BRANCH-1-2 gnupg/g10 (6 files)

cvs user dshaw cvs@cvs.gnupg.org
Wed, 04 Dec 2002 19:32:01 +0100


    Date: Wednesday, December 4, 2002 @ 19:32:01
  Author: dshaw
    Path: /cvs/gnupg/gnupg/g10
     Tag: STABLE-BRANCH-1-2

Modified: ChangeLog build-packet.c keyedit.c keygen.c main.h sign.c

* main.h, keyedit.c, keygen.c: Back out previous (2002-12-01) change.  
Minimal isn't always best.

* sign.c (update_keysig_packet): Use the current time rather then a
modification of the original signature time.  Make sure that this doesn't
cause a time warp.

* keygen.c (keygen_add_key_expire): Properly handle a key expiration date
in the past (use a duration of 0).

* keyedit.c (menu_expire): Use update_keysig_packet so any sig subpackets
are maintained during the update.

* build-packet.c (build_sig_subpkt): Mark sig expired or unexpired when
the sig expiration subpacket is added. (build_sig_subpkt_from_sig): Handle
making an expiration subpacket from a sig that has already expired (use a
duration of 0).


----------------+
 ChangeLog      |   18 +++++++++++++++
 build-packet.c |   15 ++++++++++++-
 keyedit.c      |   16 +++----------
 keygen.c       |   63 +++++++++++++++++++------------------------------------
 main.h         |    7 ------
 sign.c         |   40 ++++++++++++++++++++++++++--------
 6 files changed, 89 insertions(+), 70 deletions(-)