diff options
author | Dan McGee <dan@archlinux.org> | 2011-06-24 22:30:45 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-06-27 18:57:43 +0200 |
commit | 865ac0f0557560216b42ea14efb4487a236c0b2b (patch) | |
tree | 60ae02ca039cb4f776020da47ddcb533b2e8612b /lib/libalpm/db.c | |
parent | f01c6f814a278a3d024d34fed0c219c8cb1e1e33 (diff) | |
download | pacman-865ac0f0557560216b42ea14efb4487a236c0b2b.tar.gz pacman-865ac0f0557560216b42ea14efb4487a236c0b2b.tar.xz |
Remove setter for DB signature level
This should have been removed with commit db3b86e7f34f but was
erroniously left behind.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/db.c')
-rw-r--r-- | lib/libalpm/db.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/lib/libalpm/db.c b/lib/libalpm/db.c index b20421a3..9f37f80b 100644 --- a/lib/libalpm/db.c +++ b/lib/libalpm/db.c @@ -211,23 +211,6 @@ int SYMEXPORT alpm_db_remove_server(pmdb_t *db, const char *url) return 1; } -/** Set the verify gpg signature option for a database. - * @param db database pointer - * @param verify enum pgp_verify_t - * @return 0 on success, -1 on error (pm_errno is set accordingly) - */ -int SYMEXPORT alpm_db_set_pgp_verify(pmdb_t *db, pgp_verify_t verify) -{ - /* Sanity checks */ - ASSERT(db != NULL, return -1); - db->handle->pm_errno = 0; - - db->pgp_verify = verify; - _alpm_log(db->handle, PM_LOG_DEBUG, "adding VerifySig option to database '%s': %d\n", - db->treename, verify); - - return 0; -} /** Get the name of a package database. */ const char SYMEXPORT *alpm_db_get_name(const pmdb_t *db) |