summaryrefslogtreecommitdiffstats
path: root/g10/sig-check.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/sig-check.c')
-rw-r--r--g10/sig-check.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/g10/sig-check.c b/g10/sig-check.c
index d5f0afb9e..040c969f5 100644
--- a/g10/sig-check.c
+++ b/g10/sig-check.c
@@ -213,4 +213,19 @@ signature_check( PKT_signature *sig, MD_HANDLE *digest )
}
+/****************
+ * check the signature pointed to by NODE. This is a key signatures
+ */
+int
+check_key_signature( KBNODE root, KBNODE node )
+{
+ assert( node->pkt->pkttype == PKT_SIGNATURE );
+ assert( (node->pkt->pkt.signature->sig_class&~3) == 0x10 );
+ assert( root->pkt->pkttype == PKT_PUBLIC_CERT );
+
+ /*FIXME!!!!!!*/
+
+ return 0;
+}
+