(url-https-create-secure-wrapper): Always use tls gateway method.
This commit is contained in:
@@ -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>
|
||||
|
||||
* url-http.el (url-http-find-free-connection): Handle
|
||||
|
||||
@@ -1261,9 +1261,7 @@ p3p
|
||||
(defmacro url-https-create-secure-wrapper (method args)
|
||||
`(defun ,(intern (format (if method "url-https-%s" "url-https") method)) ,args
|
||||
,(format "HTTPS wrapper around `%s' call." (or method "url-http"))
|
||||
(let ((url-gateway-method (condition-case ()
|
||||
(require 'ssl)
|
||||
(error 'tls))))
|
||||
(let ((url-gateway-method 'tls))
|
||||
(,(intern (format (if method "url-http-%s" "url-http") method))
|
||||
,@(remove '&rest (remove '&optional args))))))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user