aboutsummaryrefslogtreecommitdiffstats
path: root/g10/packet.h
diff options
context:
space:
mode:
authorNeal H. Walfield <[email protected]>2015-10-19 09:06:57 +0000
committerNeal H. Walfield <[email protected]>2015-10-19 18:11:01 +0000
commit0433e667029508d6933e8798d3d95bcdde70a7aa (patch)
tree707675a1fa25bc5b345a77d4cc89cbbb45dc16f1 /g10/packet.h
parentgpg: Mark local function as static. (diff)
downloadgnupg-0433e667029508d6933e8798d3d95bcdde70a7aa.tar.gz
gnupg-0433e667029508d6933e8798d3d95bcdde70a7aa.zip
gpg: Improve and regularize naming of signature checking functions.
* g10/packet.h (signature_check): Rename from this... (check_signature): ... to this. Update users. (signature_check2): Rename from this... (check_signature2): ... to this. Update users. * g10/sig-check.c (do_check): Rename from this... (check_signature_end): ... to this. Update users. (do_check_messages): Rename from this... (check_signature_metadata_validity): ... to this. Update users. -- Signed-off-by: Neal H. Walfield <[email protected]>
Diffstat (limited to 'g10/packet.h')
-rw-r--r--g10/packet.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/g10/packet.h b/g10/packet.h
index 2c1b478c1..87671a6ce 100644
--- a/g10/packet.h
+++ b/g10/packet.h
@@ -638,8 +638,8 @@ int cmp_user_ids( PKT_user_id *a, PKT_user_id *b );
/*-- sig-check.c --*/
-int signature_check( PKT_signature *sig, gcry_md_hd_t digest );
-int signature_check2( PKT_signature *sig, gcry_md_hd_t digest, u32 *r_expiredate,
+int check_signature( PKT_signature *sig, gcry_md_hd_t digest );
+int check_signature2( PKT_signature *sig, gcry_md_hd_t digest, u32 *r_expiredate,
int *r_expired, int *r_revoked, PKT_public_key *ret_pk );