aboutsummaryrefslogtreecommitdiffstats
path: root/g10/main.h
diff options
context:
space:
mode:
authorDavid Shaw <[email protected]>2002-09-13 12:59:31 +0000
committerDavid Shaw <[email protected]>2002-09-13 12:59:31 +0000
commitbaffecaca26432dfaa4b5d658862f4c75de889a9 (patch)
treedf2fb5958e65dfc69be92262283a17d463c2baea /g10/main.h
parentupdated RISC OS stuff (diff)
downloadgnupg-baffecaca26432dfaa4b5d658862f4c75de889a9.tar.gz
gnupg-baffecaca26432dfaa4b5d658862f4c75de889a9.zip
Import from stable branch.
2002-09-13 David Shaw <[email protected]> * getkey.c (check_revocation_keys): Move.... * main.h, sig-check.c (check_revocation_keys): to here. Also return the signature_check error code rather than 0/1 and cache the sig result. * sig-check.c (check_key_signature2): Divert to check_revocation_keys if a revocation sig is made by someone other than the pk owner. * getkey.c (merge_selfsigs_main): Tidy. 2002-09-13 Werner Koch <[email protected]> * g10.c (main) [__MINGW32__]: Activate oLoadExtension.
Diffstat (limited to 'g10/main.h')
-rw-r--r--g10/main.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/g10/main.h b/g10/main.h
index 0d04911d7..4282a47c2 100644
--- a/g10/main.h
+++ b/g10/main.h
@@ -106,6 +106,7 @@ int clearsign_file( const char *fname, STRLIST locusr, const char *outfile );
int sign_symencrypt_file (const char *fname, STRLIST locusr);
/*-- sig-check.c --*/
+int check_revocation_keys (PKT_public_key *pk, PKT_signature *sig);
int check_key_signature( KBNODE root, KBNODE node, int *is_selfsig );
int check_key_signature2( KBNODE root, KBNODE node,
int *is_selfsig, u32 *r_expiredate, int *r_expired );