[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] GnuTLS support on Woe32

From: Lars Magne Ingebrigtsen
Subject: Re: [PATCH] GnuTLS support on Woe32
Date: Tue, 03 May 2011 00:45:40 +0200
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux)

Chong Yidong <address@hidden> writes:

> In the case of open-network-stream, why do you need to use
> gnutls-available-p?  Why not either use `starttls', or do `tls' and then
> `network' if that fails?  After all, gnutls not being available is only
> one of many possible failure modes, so it's better to just let
> open-network-stream handle them.

Well, this is to allow `open-network-stream' to handle that.  Today it
uses (fboundp 'open-gnutls-stream), which is a very bad test, since it
only tests for whether someone has loaded the gnutls.el library, which
says nothing about whether Emacs has been linked against gnutls, or (in
Windows) whether the DLL has been loaded.

(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]