emacs-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] GnuTLS support on Woe32


From: Juanma Barranquero
Subject: Re: [PATCH] GnuTLS support on Woe32
Date: Mon, 2 May 2011 21:38:52 +0200

2011/5/2 Ted Zlatanov <address@hidden>:

> OK with me, just make sure you log it :)

Hm, thanks for bringing this up.

> My hope is that gnutls.el won't be used directly and
> `open-network-stream' will be used instead, to avoid the mess of
> starttls/gnutls-cli/openssl special process calls we had before.

>From a package developer's POV, how do you test whether GnuTLS is
available with open-network-stream?

> So this problem is isolated to `open-network-stream' and Lars should
> decide how he wants to handle it, IMO.  If he wants `gnutls-available-p'
> I'll write it.

Oh, that function is just

DEFUN ("gnutls-available-p", Fgnutls_available_p
       Sgnutls_available_p, 0, 0, 0,
       doc: /* Return t if GnuTLS is available in this Emacs session.  */)
  (void)
{
#ifdef WINDOWSNT
  Lisp_Object found = Fassq (Qgnutls_dll, Vlibrary_cache);
  if (CONSP (found))
    return XCDR (found);
  else
    return init_gnutls_functions () ? Qt : Qnil;
#else
  return Qnil
#endif
}

    Juanma



reply via email to

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