diff options
author | Werner Koch <[email protected]> | 1998-10-18 15:21:22 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 1998-10-18 15:21:22 +0000 |
commit | 6e1629686442f357146cce4052a5fa4afd59d232 (patch) | |
tree | c6c7a5df241142ecd0797702a7bf6c3bfc8b6a33 /g10/build-packet.c | |
parent | . (diff) | |
download | gnupg-6e1629686442f357146cce4052a5fa4afd59d232.tar.gz gnupg-6e1629686442f357146cce4052a5fa4afd59d232.zip |
Snapshot release 0.4.2V0-4-2
Diffstat (limited to 'g10/build-packet.c')
-rw-r--r-- | g10/build-packet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/build-packet.c b/g10/build-packet.c index 11edb33e6..d83568328 100644 --- a/g10/build-packet.c +++ b/g10/build-packet.c @@ -215,7 +215,7 @@ do_public_key( IOBUF out, int ctb, PKT_public_key *pk ) ndays = (u16)((pk->expiredate - pk->timestamp) / 86400L); else ndays = 0; - write_16(a, 0 ); + write_16(a, ndays ); } iobuf_put(a, pk->pubkey_algo ); n = pubkey_get_npkey( pk->pubkey_algo ); |