summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/package.h
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-04-22 02:25:44 +0200
committerDan McGee <dan@archlinux.org>2011-04-24 17:48:33 +0200
commit225acbbff176e52a88eb6b8030d331a599a7ef06 (patch)
treed6785a982dbdf022c7bd54d0993e385267e20cfd /lib/libalpm/package.h
parent31e55b8049ed001a993441f3efc8ffebdf360061 (diff)
downloadpacman-225acbbff176e52a88eb6b8030d331a599a7ef06.tar.gz
pacman-225acbbff176e52a88eb6b8030d331a599a7ef06.tar.xz
Rein in the complexity of the signature type
Given that we offer no transparency into the pmpgpsig_t type, we don't really need to expose it outside of the library, and at this point, we don't need it at all. Don't decode anything except when checking signatures. For packages/files not from a sync database, we now just read the signature file directly anyway. Also push the decoding logic down further into the check method so we don't need this hanging out in a less than ideal place. This will make it easier to conditionally compile things down the road. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/package.h')
-rw-r--r--lib/libalpm/package.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libalpm/package.h b/lib/libalpm/package.h
index c84e2221..390dcd95 100644
--- a/lib/libalpm/package.h
+++ b/lib/libalpm/package.h
@@ -97,10 +97,9 @@ struct __pmpkg_t {
char *url;
char *packager;
char *md5sum;
+ char *base64_sig;
char *arch;
- pmpgpsig_t pgpsig;
-
time_t builddate;
time_t installdate;