From 23a2d2c16a87dc8744b8307bded9fabb503dde13 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Fri, 24 Jun 2011 15:41:56 -0500 Subject: Make alpm_db_get_sigverify_level() public Signed-off-by: Dan McGee --- lib/libalpm/signing.c | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'lib/libalpm/signing.c') diff --git a/lib/libalpm/signing.c b/lib/libalpm/signing.c index 35b352be..24ca4a0d 100644 --- a/lib/libalpm/signing.c +++ b/lib/libalpm/signing.c @@ -361,21 +361,6 @@ int _alpm_gpgme_checksig(alpm_handle_t *handle, const char *path, } #endif -/** - * Determines the necessity of checking for a valid PGP signature - * @param db the sync database to query - * - * @return signature verification level - */ -pgp_verify_t _alpm_db_get_sigverify_level(alpm_db_t *db) -{ - if(db->pgp_verify != PM_PGP_VERIFY_UNKNOWN) { - return db->pgp_verify; - } else { - return alpm_option_get_default_sigverify(db->handle); - } -} - /** * Check the PGP signature for the given package file. * @param pkg the package to check -- cgit v1.2.3