aboutsummaryrefslogtreecommitdiffstats
path: root/g10/parse-packet.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>1999-08-04 08:45:27 +0000
committerWerner Koch <[email protected]>1999-08-04 08:45:27 +0000
commit28c861268daabaf349bf1688886671be9807d95c (patch)
treea53a13f59d2bbc8719862b4622bd6473c7d3a128 /g10/parse-packet.c
parentSee ChangeLog: Mon Jul 26 15:46:23 CEST 1999 Werner Koch (diff)
downloadgnupg-28c861268daabaf349bf1688886671be9807d95c.tar.gz
gnupg-28c861268daabaf349bf1688886671be9807d95c.zip
See ChangeLog: Wed Aug 4 10:34:46 CEST 1999 Werner KochV0-9-10
Diffstat (limited to 'g10/parse-packet.c')
-rw-r--r--g10/parse-packet.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/g10/parse-packet.c b/g10/parse-packet.c
index 577a1fcfe..967aa7a22 100644
--- a/g10/parse-packet.c
+++ b/g10/parse-packet.c
@@ -737,7 +737,14 @@ dump_sig_subpkt( int hashed, int type, int critical,
printf(" %d", buffer[i] );
break;
case SIGSUBPKT_REV_KEY:
- p = "revocation key";
+ fputs("revocation key: ", stdout );
+ if( length < 22 )
+ p = "[too short]";
+ else {
+ printf("c=%02x a=%d f=", buffer[0], buffer[1] );
+ for( i=2; i < length; i++ )
+ printf("%02X", buffer[i] );
+ }
break;
case SIGSUBPKT_ISSUER:
if( length >= 8 )