]> git.eshelyaron.com Git - emacs.git/commit
* lisp/emacs-lisp/package.el: Don't install bad signatures (bug#22089)
authorArtur Malabarba <bruce.connor.am@gmail.com>
Sat, 5 Dec 2015 16:37:01 +0000 (16:37 +0000)
committerArtur Malabarba <bruce.connor.am@gmail.com>
Sat, 5 Dec 2015 16:42:04 +0000 (16:42 +0000)
commitaac3c8a38f0650e3c703d430f8d606547e0bd73b
tree63af5daea99ddc3d5e5e3d43809f0a91b7ce77de
parent0daba4888771e29f2edf170216adaf3d33040bea
* lisp/emacs-lisp/package.el: Don't install bad signatures (bug#22089)

(package--with-response-buffer): NOERROR and ERROR-FORM only
handle connection errors.
(bad-signature): New error type.
(package--check-signature-content): Use it.
(package--check-signature): Properly distinguish connection errors
from bad-signature errors.  Do the check for
`package-check-signature' `allow-unsigned' here instead of forcing
the callbacks to do it.  Add a new argument, UNWIND.
(package--download-one-archive, package-install-from-archive):
Update usage of `package--check-signature'.
lisp/emacs-lisp/package.el