From 6e1629686442f357146cce4052a5fa4afd59d232 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Sun, 18 Oct 1998 15:21:22 +0000 Subject: Snapshot release 0.4.2 --- g10/build-packet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'g10/build-packet.c') 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 ); -- cgit v1.2.3