mirror of
https://github.com/moparisthebest/pacman
synced 2024-11-12 04:15:06 -05:00
Remove setter for DB signature level
This should have been removed with commit db3b86e7f3
but was
erroniously left behind.
Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
parent
f01c6f814a
commit
865ac0f055
@ -695,7 +695,6 @@ alpm_list_t *alpm_pkg_unused_deltas(pmpkg_t *pkg);
|
|||||||
int alpm_pkg_check_pgp_signature(pmpkg_t *pkg);
|
int alpm_pkg_check_pgp_signature(pmpkg_t *pkg);
|
||||||
|
|
||||||
int alpm_db_check_pgp_signature(pmdb_t *db);
|
int alpm_db_check_pgp_signature(pmdb_t *db);
|
||||||
int alpm_db_set_pgp_verify(pmdb_t *db, pgp_verify_t verify);
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Groups
|
* Groups
|
||||||
|
@ -211,23 +211,6 @@ int SYMEXPORT alpm_db_remove_server(pmdb_t *db, const char *url)
|
|||||||
|
|
||||||
return 1;
|
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. */
|
/** Get the name of a package database. */
|
||||||
const char SYMEXPORT *alpm_db_get_name(const pmdb_t *db)
|
const char SYMEXPORT *alpm_db_get_name(const pmdb_t *db)
|
||||||
|
Loading…
Reference in New Issue
Block a user