From 6760ec2b770e65f2aae9cfd39135cefd49961195 Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Fri, 25 Mar 2011 21:40:16 -0400 Subject: Allow VerifySig to act as a default verification in [options] * add _alpm_db_get_sigverify_level * add alpm_option_{get,set}_default_sigverify And set the default verification level to OPTIONAL if not set otherwise. Signed-off-by: Dave Reisner Signed-off-by: Dan McGee --- lib/libalpm/signing.h | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/libalpm/signing.h') diff --git a/lib/libalpm/signing.h b/lib/libalpm/signing.h index b37abf0f..42b56508 100644 --- a/lib/libalpm/signing.h +++ b/lib/libalpm/signing.h @@ -33,6 +33,7 @@ struct __pmpgpsig_t { int _alpm_gpgme_checksig(const char *path, const pmpgpsig_t *sig); int _alpm_load_signature(const char *sigfile, pmpgpsig_t *pgpsig); +pgp_verify_t _alpm_db_get_sigverify_level(pmdb_t *db); #endif /* _ALPM_SIGNING_H */ -- cgit v1.2.3-24-g4f1b