diff options
author | Dan McGee <dan@archlinux.org> | 2011-08-15 15:56:58 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-08-15 22:15:11 +0200 |
commit | 11f4a7a48ebd52c69345c3baced5b14974931643 (patch) | |
tree | 4250d09bf3f4cff6a606009a64238d70e7307e08 /lib/libalpm/db.h | |
parent | 855bc16a9eb21348be8b43273668269383aaaf96 (diff) | |
download | pacman-11f4a7a48ebd52c69345c3baced5b14974931643.tar.gz pacman-11f4a7a48ebd52c69345c3baced5b14974931643.tar.xz |
Only check necessary signatures and checksums
The precedence goes as follows: signature > sha256sum > md5sum
Add some logic and helper methods to check what we have available when
loading a package, and then only check what is necessary to verify the
package. This should speed up sync database verifies as we no longer
will be doing both a checksum and a signature validation.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/db.h')
-rw-r--r-- | lib/libalpm/db.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/libalpm/db.h b/lib/libalpm/db.h index a09c7e26..2938b54a 100644 --- a/lib/libalpm/db.h +++ b/lib/libalpm/db.h @@ -80,7 +80,6 @@ struct __alpm_db_t { alpm_db_t *_alpm_db_new(const char *treename, int is_local); void _alpm_db_free(alpm_db_t *db); const char *_alpm_db_path(alpm_db_t *db); -char *_alpm_db_sig_path(alpm_db_t *db); int _alpm_db_cmp(const void *d1, const void *d2); alpm_list_t *_alpm_db_search(alpm_db_t *db, const alpm_list_t *needles); alpm_db_t *_alpm_db_register_local(alpm_handle_t *handle); |