diff options
author | Werner Koch <wk@gnupg.org> | 1997-12-19 12:41:47 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 1997-12-19 12:41:47 +0100 |
commit | ee8d92fefa5902f97e92856b9c657fb18d0dd93e (patch) | |
tree | cf86cf2d45d7dbeb3f8c01a53402435ac1257f88 /g10/sig-check.c | |
parent | added some stuff for signing keys (diff) | |
download | gnupg2-ee8d92fefa5902f97e92856b9c657fb18d0dd93e.tar.xz gnupg2-ee8d92fefa5902f97e92856b9c657fb18d0dd93e.zip |
better prime number generator. improved ELG key generation
Diffstat (limited to 'g10/sig-check.c')
-rw-r--r-- | g10/sig-check.c | 15 |
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; +} + |