aboutsummaryrefslogtreecommitdiffstats
path: root/g10/status.c
diff options
context:
space:
mode:
authorDavid Shaw <[email protected]>2003-08-13 03:31:36 +0000
committerDavid Shaw <[email protected]>2003-08-13 03:31:36 +0000
commita2cf3caa988f5cc6cf46d681dfc7f4f0e3da97eb (patch)
tree754374c4ea806c18af64ae93709048d7f229264b /g10/status.c
parentAbout to release the first 1.9 version. (diff)
downloadgnupg-a2cf3caa988f5cc6cf46d681dfc7f4f0e3da97eb.tar.gz
gnupg-a2cf3caa988f5cc6cf46d681dfc7f4f0e3da97eb.zip
* packet.h, sig-check.c (signature_check2, do_check, do_check_messages):
Provide a signing-key-is-revoked flag. Change all callers. * status.h, status.c (get_status_string): New REVKEYSIG status tag for a good signature from a revoked key. * mainproc.c (do_check_sig, check_sig_and_print): Use it here. * import.c (import_revoke_cert, merge_blocks, merge_sigs): Compare actual signatures on import rather than using keyid or class matching. This does not change actual behavior with a key, but does mean that all sigs are imported whether they will be used or not. * parse-packet.c (parse_signature): Don't give "signature packet without xxxx" warnings for experimental pk algorithms. An experimental algorithm may not have a notion of (for example) a keyid (i.e. PGP's x.509 stuff).
Diffstat (limited to '')
-rw-r--r--g10/status.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/g10/status.c b/g10/status.c
index cc30db79b..cde0c8d77 100644
--- a/g10/status.c
+++ b/g10/status.c
@@ -148,6 +148,7 @@ get_status_string ( int no )
case STATUS_SIGEXPIRED : s = "SIGEXPIRED deprecated-use-keyexpired-instead"; break;
case STATUS_EXPSIG : s = "EXPSIG"; break;
case STATUS_EXPKEYSIG : s = "EXPKEYSIG"; break;
+ case STATUS_REVKEYSIG : s = "REVKEYSIG"; break;
case STATUS_ATTRIBUTE : s = "ATTRIBUTE"; break;
default: s = "?"; break;
}