(url-https-create-secure-wrapper): Always use tls gateway method.
authorMagnus Henoch <mange@freemail.hu>
Mon, 16 Oct 2006 14:28:46 +0000 (14:28 +0000)
committerMagnus Henoch <mange@freemail.hu>
Mon, 16 Oct 2006 14:28:46 +0000 (14:28 +0000)
lisp/url/ChangeLog
lisp/url/url-http.el

index 2aa14af..2d26bc8 100644 (file)
@@ -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
index bf8069d..958d906 100644 (file)
@@ -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))))))