Use `starttls-available-p' to see whether starttls.el can be used.

This commit is contained in:
Lars Magne Ingebrigtsen 2011-08-02 15:34:05 +02:00
parent 0f805e429d
commit 2239d7d5ef
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
* net/network-stream.el (network-stream-open-starttls): Use
`starttls-available-p' to see whether starttls.el can be used.
2011-08-01 Martin Rudalics <rudalics@gmx.at>
* window.el (display-buffer-in-window): Don't set dedicated status

View file

@ -230,7 +230,7 @@ functionality.
(or builtin-starttls
(and (or require-tls
(plist-get parameters :use-starttls-if-possible))
(executable-find "gnutls-cli")))
(starttls-available-p)))
(not (eq (plist-get parameters :type) 'plain)))
;; If using external STARTTLS, drop this connection and start
;; anew with `starttls-open-stream'.