Commit 7a9fc593 authored by Lars Magne Ingebrigtsen's avatar Lars Magne Ingebrigtsen
Browse files

* url-gw.el (url-open-stream): Use open-gnutls-stream if it exists.

parent 220d91b8
2010-10-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
* url-gw.el (url-open-stream): Use open-gnutls-stream if it exists.
2010-10-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
* url-http.el (url-http-end-of-document-sentinel): Protect against
......
......@@ -245,7 +245,10 @@ Might do a non-blocking connection; use `process-status' to check."
(coding-system-for-write 'binary))
(setq conn (case gw-method
(tls
(open-tls-stream name buffer host service))
(funcall (if (fboundp 'open-gnutls-stream)
'open-gnutls-stream
'open-tls-stream)
name buffer host service))
(ssl
(open-ssl-stream name buffer host service))
((native)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment