summaryrefslogtreecommitdiffstats
path: root/g10/free-packet.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>1998-10-16 18:00:17 +0200
committerWerner Koch <wk@gnupg.org>1998-10-16 18:00:17 +0200
commite81e0970f7ab6c815f3396168d47fc6ab57fdf30 (patch)
tree175aa8c360560b30cf500a91eb72b34e16bdedc4 /g10/free-packet.c
parentbackup (diff)
downloadgnupg2-e81e0970f7ab6c815f3396168d47fc6ab57fdf30.tar.xz
gnupg2-e81e0970f7ab6c815f3396168d47fc6ab57fdf30.zip
last local commit
Diffstat (limited to 'g10/free-packet.c')
-rw-r--r--g10/free-packet.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/g10/free-packet.c b/g10/free-packet.c
index e6b228117..c3b516dbd 100644
--- a/g10/free-packet.c
+++ b/g10/free-packet.c
@@ -354,7 +354,7 @@ cmp_public_keys( PKT_public_key *a, PKT_public_key *b )
if( a->timestamp != b->timestamp )
return -1;
- if( a->valid_days != b->valid_days )
+ if( a->expiredate != b->expiredate )
return -1;
if( a->pubkey_algo != b->pubkey_algo )
return -1;
@@ -380,7 +380,7 @@ cmp_public_secret_key( PKT_public_key *pk, PKT_secret_key *sk )
if( pk->timestamp != sk->timestamp )
return -1;
- if( pk->valid_days != sk->valid_days )
+ if( pk->expiredate != sk->expiredate )
return -1;
if( pk->pubkey_algo != sk->pubkey_algo )
return -1;