aboutsummaryrefslogtreecommitdiffstats
path: root/g10/sign.c
diff options
context:
space:
mode:
authorDavid Shaw <[email protected]>2006-05-23 03:58:53 +0000
committerDavid Shaw <[email protected]>2006-05-23 03:58:53 +0000
commit197c7a3e47c38811c6dd266136785cf644f76d55 (patch)
tree659d7eb9dd9c298999ef2f84a0a5e4a575b251a6 /g10/sign.c
parent* import.c (import_one): Fix bug when importing a new key from a file. (diff)
downloadgnupg-197c7a3e47c38811c6dd266136785cf644f76d55.tar.gz
gnupg-197c7a3e47c38811c6dd266136785cf644f76d55.zip
* parse-packet.c (dump_sig_subpkt, parse_signature), build-packet.c
(build_sig_subpkt_from_sig), getkey.c (fixup_uidnode, merge_selfsigs_main, merge_selfsigs_subkey), keygen.c (keygen_add_key_expire): Fix meaning of key expiration and sig expiration subpackets - zero means "never expire" according to 2440, not "expire instantly".
Diffstat (limited to '')
-rw-r--r--g10/sign.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/sign.c b/g10/sign.c
index 5ef791004..d3d0c29b6 100644
--- a/g10/sign.c
+++ b/g10/sign.c
@@ -1544,7 +1544,7 @@ update_keysig_packet( PKT_signature **ret_sig,
}
/* Note that already expired sigs will remain expired (with a
- duration of 0) since build-packet.c:build_sig_subpkt_from_sig
+ duration of 1) since build-packet.c:build_sig_subpkt_from_sig
detects this case. */
if( sig->version >= 4 )