summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/alpm.c
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-09-22 22:47:57 +0200
committerDan McGee <dan@archlinux.org>2011-09-22 23:01:10 +0200
commit1e0ed133f471c35fe6979612a4cb57926223c9b9 (patch)
tree8f37314c6bb88cd882c4d7fb7598d1f3af9090f1 /lib/libalpm/alpm.c
parent907e8af5be7579129a257b4c9952e86a22df9bb9 (diff)
downloadpacman-1e0ed133f471c35fe6979612a4cb57926223c9b9.tar.gz
pacman-1e0ed133f471c35fe6979612a4cb57926223c9b9.tar.xz
Handle key import errors correctly and with good error messages
This adds calls to gpgme_op_import_result() which we were not looking at before to ensure the key was actually imported. Additionally, we do some preemptive checks to ensure the keyring is even writable if we are going to prompt the user to add things to it. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/alpm.c')
0 files changed, 0 insertions, 0 deletions