From 7b278538c7c32fb4e0563bd2417ad0de5256f1e7 Mon Sep 17 00:00:00 2001 From: David Shaw Date: Tue, 7 Jan 2003 00:06:02 +0000 Subject: [PATCH] * trustdb.c (get_validity_info): 'd' for disabled is not a validity value any more. --- g10/ChangeLog | 3 +++ g10/trustdb.c | 2 -- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/g10/ChangeLog b/g10/ChangeLog index a57721e2b..28d8bec77 100644 --- a/g10/ChangeLog +++ b/g10/ChangeLog @@ -1,5 +1,8 @@ 2003-01-06 David Shaw + * trustdb.c (get_validity_info): 'd' for disabled is not a + validity value any more. + * packet.h, tdbio.h, tdbio.c (tdbio_read_record, tdbio_write_record), trustdb.c (update_validity): Store temporary full & marginal counts in the trustdb. diff --git a/g10/trustdb.c b/g10/trustdb.c index 10e2df6dc..ed4a9379a 100644 --- a/g10/trustdb.c +++ b/g10/trustdb.c @@ -1048,8 +1048,6 @@ get_validity_info (PKT_public_key *pk, const byte *namehash) int c; trustlevel = get_validity (pk, namehash); - if( trustlevel & TRUST_FLAG_DISABLED ) - return 'd'; if( trustlevel & TRUST_FLAG_REVOKED ) return 'r'; c = trust_letter ( (trustlevel & TRUST_MASK) );