summaryrefslogtreecommitdiffstats
path: root/g10/kbnode.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>1998-04-08 21:49:02 +0200
committerWerner Koch <wk@gnupg.org>1998-04-08 21:49:02 +0200
commit8b10a87908f4d382735a046e7d043ebc250d8d67 (patch)
tree9c4255d5cd84df663f9a7001b7b6277e53cf6e6e /g10/kbnode.c
parentNew tests (diff)
downloadgnupg2-8b10a87908f4d382735a046e7d043ebc250d8d67.tar.xz
gnupg2-8b10a87908f4d382735a046e7d043ebc250d8d67.zip
test release
Diffstat (limited to 'g10/kbnode.c')
-rw-r--r--g10/kbnode.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/g10/kbnode.c b/g10/kbnode.c
index 11b0e46be..3780eb24a 100644
--- a/g10/kbnode.c
+++ b/g10/kbnode.c
@@ -275,7 +275,8 @@ dump_kbnode( KBNODE node )
fprintf(stderr, " keyid=%08lX\n",
(ulong)node->pkt->pkt.signature->keyid[1] );
}
- else if( node->pkt->pkttype == PKT_PUBLIC_CERT ) {
+ else if( node->pkt->pkttype == PKT_PUBLIC_CERT
+ || node->pkt->pkttype == PKT_PUBKEY_SUBCERT ) {
fprintf(stderr, " keyid=%08lX\n", (ulong)
keyid_from_pkc( node->pkt->pkt.public_cert, NULL ));
}