Allow PGP signature to be read from sync database
commit60159c2e77a499067e0b294fc9c6c182f225bee2
authorDan McGee <dan@archlinux.org>
Mon, 2 Jun 2008 20:16:00 +0000 (2 15:16 -0500)
committerDan McGee <dan@archlinux.org>
Wed, 23 Mar 2011 07:22:00 +0000 (23 02:22 -0500)
tree453ff6d5b229d4952634a989fbcca388621adbd5
parent9f2a3023f8088800efd3a0abeb32ed5117be4442
Allow PGP signature to be read from sync database

Add a new field to the package struct to hold PGP information and
instruct db_read to pick it up from the database. It is currently unused
internally but this is the first step.

Due to the fact that we store the PGP sig as binary data, we need to store
both the data and the length so we have a small utility struct to assist us.

Signed-off-by: Dan McGee <dan@archlinux.org>
Signed-off-by: Allan McRae <allan@archlinux.org>
lib/libalpm/alpm.h
lib/libalpm/package.c
lib/libalpm/package.h