summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/signing.h
diff options
context:
space:
mode:
authorDave Reisner <d@falconindy.com>2011-03-26 02:40:16 +0100
committerDan McGee <dan@archlinux.org>2011-04-21 02:42:01 +0200
commit6760ec2b770e65f2aae9cfd39135cefd49961195 (patch)
tree1cff3dd732c5a4e6a7c262c8163e32e52eb7f6d5 /lib/libalpm/signing.h
parent2c8c763723b43ddcb865aab325afc9c76907cb64 (diff)
downloadpacman-6760ec2b770e65f2aae9cfd39135cefd49961195.tar.gz
pacman-6760ec2b770e65f2aae9cfd39135cefd49961195.tar.xz
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 <d@falconindy.com> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/signing.h')
-rw-r--r--lib/libalpm/signing.h1
1 files changed, 1 insertions, 0 deletions
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 */