aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Shaw <[email protected]>2003-01-07 00:06:02 +0000
committerDavid Shaw <[email protected]>2003-01-07 00:06:02 +0000
commit7b278538c7c32fb4e0563bd2417ad0de5256f1e7 (patch)
treeb1e34ff6bc1f1bdbea7b2c9446ccde531c862f70
parent* gpgkeys_hkp.c (get_key): Use options=mr when getting a key so keyserver (diff)
downloadgnupg-7b278538c7c32fb4e0563bd2417ad0de5256f1e7.tar.gz
gnupg-7b278538c7c32fb4e0563bd2417ad0de5256f1e7.zip
* trustdb.c (get_validity_info): 'd' for disabled is not a validity value
any more.
Diffstat (limited to '')
-rw-r--r--g10/ChangeLog3
-rw-r--r--g10/trustdb.c2
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 <[email protected]>
+ * 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) );