summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>1999-01-28 09:08:47 +0000
committerThomas Roessler <roessler@does-not-exist.org>1999-01-28 09:08:47 +0000
commitac3823b19d9d4029e7011b0cd2d1997d0a675e82 (patch)
tree6e1a782a5bbeb12d625e54ad245036b1476141f1
parent3098a4cdb7d3d35328a97ba56e145c2cd0f59ace (diff)
gnupg's trust model is currently unusable. As a work-around, we
don't present the user with _any_ trust information if he uses gnupg.
-rw-r--r--gnupgparse.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gnupgparse.c b/gnupgparse.c
index 92ddb48d..28f5f057 100644
--- a/gnupgparse.c
+++ b/gnupgparse.c
@@ -84,11 +84,13 @@ static KEYINFO *parse_pub_line( char *buf, int *is_subkey )
case 2: /* trust info */
switch( *p ) { /* look only at the first letter */
case 'e': k->flags |= KEYFLAG_EXPIRED; break;
+ case 'r': k->flags |= KEYFLAG_REVOKED; break;
+#if 0
case 'n': trust = 1; break;
case 'm': trust = 2; break;
case 'f': trust = 3; break;
case 'u': trust = 3; break;
- case 'r': k->flags |= KEYFLAG_REVOKED; break;
+#endif
}
break;
case 3: /* key length */