Remove superfluous `gnutls-available-p' check
* lisp/url/url-http.el (url-http-parse-headers): `gnutls-available-p' is now always available.
This commit is contained in:
parent
be6dff68be
commit
14efb83188
2 changed files with 6 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2014-12-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
|
||||
|
||||
* url-http.el (url-http-parse-headers): `gnutls-available-p' is
|
||||
now always available.
|
||||
|
||||
2014-12-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
|
||||
|
||||
* url-http.el (url-http-parse-headers): Check that
|
||||
|
|
|
@ -495,8 +495,7 @@ should be shown to the user."
|
|||
(url-port url-current-object)
|
||||
url-http-process)
|
||||
;; Pass the https certificate on to the caller.
|
||||
(when (and (fboundp 'gnutls-available-p)
|
||||
(gnutls-available-p))
|
||||
(when (gnutls-available-p)
|
||||
(let ((status (gnutls-peer-status url-http-process)))
|
||||
(when (or status
|
||||
(plist-get (car url-callback-arguments) :peer))
|
||||
|
|
Loading…
Add table
Reference in a new issue