mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-22 07:09:54 +00:00
(url-https-create-secure-wrapper): Always use tls gateway method.
This commit is contained in:
parent
b43da35222
commit
784f5416cf
@ -1,3 +1,8 @@
|
|||||||
|
2006-10-16 Magnus Henoch <mange@freemail.hu>
|
||||||
|
|
||||||
|
* url-http.el (url-https-create-secure-wrapper): Always use tls
|
||||||
|
gateway method.
|
||||||
|
|
||||||
2006-10-12 Magnus Henoch <mange@freemail.hu>
|
2006-10-12 Magnus Henoch <mange@freemail.hu>
|
||||||
|
|
||||||
* url-http.el (url-http-find-free-connection): Handle
|
* url-http.el (url-http-find-free-connection): Handle
|
||||||
|
@ -1261,9 +1261,7 @@ p3p
|
|||||||
(defmacro url-https-create-secure-wrapper (method args)
|
(defmacro url-https-create-secure-wrapper (method args)
|
||||||
`(defun ,(intern (format (if method "url-https-%s" "url-https") method)) ,args
|
`(defun ,(intern (format (if method "url-https-%s" "url-https") method)) ,args
|
||||||
,(format "HTTPS wrapper around `%s' call." (or method "url-http"))
|
,(format "HTTPS wrapper around `%s' call." (or method "url-http"))
|
||||||
(let ((url-gateway-method (condition-case ()
|
(let ((url-gateway-method 'tls))
|
||||||
(require 'ssl)
|
|
||||||
(error 'tls))))
|
|
||||||
(,(intern (format (if method "url-http-%s" "url-http") method))
|
(,(intern (format (if method "url-http-%s" "url-http") method))
|
||||||
,@(remove '&rest (remove '&optional args))))))
|
,@(remove '&rest (remove '&optional args))))))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user