aboutsummaryrefslogtreecommitdiffstats
path: root/g10/packet.h
diff options
context:
space:
mode:
authorDavid Shaw <[email protected]>2004-01-22 01:08:58 +0000
committerDavid Shaw <[email protected]>2004-01-22 01:08:58 +0000
commitcceda5c9d22591162c7ebacf3685f6829b0bebf5 (patch)
tree8da355053d992958f29d1e9ea3a188a167d7b5a2 /g10/packet.h
parent* keyedit.c (print_and_check_one_sig, keyedit_menu): Use the COLUMNS (diff)
downloadgnupg-cceda5c9d22591162c7ebacf3685f6829b0bebf5.tar.gz
gnupg-cceda5c9d22591162c7ebacf3685f6829b0bebf5.zip
* packet.h, getkey.c (merge_selfsigs, merge_selfsigs_main), pkclist.c
(check_signatures_trust): Indicate who has revoked a key (the owner or a designated revoker). If a key was revoked by both, prefer the owner.
Diffstat (limited to 'g10/packet.h')
-rw-r--r--g10/packet.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/g10/packet.h b/g10/packet.h
index db27d7a46..e5e4a2a03 100644
--- a/g10/packet.h
+++ b/g10/packet.h
@@ -1,6 +1,6 @@
/* packet.h - packet definitions
- * Copyright (C) 1998, 1999, 2000, 2001, 2002,
- * 2003 Free Software Foundation, Inc.
+ * Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003,
+ * 2004 Free Software Foundation, Inc.
*
* This file is part of GnuPG.
*
@@ -205,7 +205,8 @@ typedef struct {
byte req_usage; /* hack to pass a request to getkey() */
byte req_algo; /* Ditto */
u32 has_expired; /* set to the expiration date if expired */
- int is_revoked; /* key has been revoked */
+ int is_revoked; /* key has been revoked, 1 if by the
+ owner, 2 if by a designated revoker */
int maybe_revoked; /* a designated revocation is present, but
without the key to check it */
int is_valid; /* key (especially subkey) is valid */