+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
(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))))))