From ee8d92fefa5902f97e92856b9c657fb18d0dd93e Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Fri, 19 Dec 1997 11:41:47 +0000 Subject: better prime number generator. improved ELG key generation --- g10/sig-check.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'g10/sig-check.c') 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; +} + -- cgit v1.2.3