From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] GnuTLS support on Woe32 Date: Mon, 2 May 2011 21:38:52 +0200 Message-ID: References: <87ipvwl1nx.wl%claudio.bley@gmail.com> <87lj05svwh.fsf@lifelogs.com> <87bp11imgb.wl%claudio.bley@gmail.com> <8739mc5nes.fsf@lifelogs.com> <87ipuubao6.fsf@lifelogs.com> <87fwpjfkkz.fsf@lifelogs.com> <87bp072fb1.fsf@lifelogs.com> <874o5vimm5.fsf@lifelogs.com> <87zknjmcyk.fsf@lifelogs.com> <87sjta2zvp.fsf@lifelogs.com> <87liyzglkh.fsf@lifelogs.com> <4DB77682.1070605@gmail.com> <8762q04ba1.fsf@lifelogs.com> <87hb9dufao.fsf@lifelogs.com> <87oc3kudag.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1304365180 807 80.91.229.12 (2 May 2011 19:39:40 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 2 May 2011 19:39:40 +0000 (UTC) Cc: emacs-devel@gnu.org To: Ted Zlatanov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 02 21:39:37 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QGyy0-0004KH-SJ for ged-emacs-devel@m.gmane.org; Mon, 02 May 2011 21:39:37 +0200 Original-Received: from localhost ([::1]:54124 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QGyy0-0000wT-Bo for ged-emacs-devel@m.gmane.org; Mon, 02 May 2011 15:39:36 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:34667) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QGyxx-0000wN-Qh for emacs-devel@gnu.org; Mon, 02 May 2011 15:39:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QGyxw-0007KG-Rq for emacs-devel@gnu.org; Mon, 02 May 2011 15:39:33 -0400 Original-Received: from mail-gw0-f41.google.com ([74.125.83.41]:36443) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QGyxw-0007KC-OI for emacs-devel@gnu.org; Mon, 02 May 2011 15:39:32 -0400 Original-Received: by gwaa12 with SMTP id a12so2503731gwa.0 for ; Mon, 02 May 2011 12:39:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type:content-transfer-encoding; bh=1ybNIsDUjL/BOjKOmNTHS9FlSe5p0rOGplHKdgvWUuM=; b=ufSIzgCxmBYgNX+R98inrpIBKlFovY07hade1HeLhhlVY+xiYwY1ZgE+Ix1lbO8h02 nh5r3TKVUbP/X0U7cN3ahjZUfbPB4PkfoDxOgSVf2SPjWtznSrxFvYXyDWodqBpsA706 I7oueLwzHbceU9tRk1Q0w2OBUa2XgUF3APDuI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=JM33YsKz0bsTRFvMsRJDta6MZ6unOYYFFXGuk1JCTNpQ7m0Is5UrDnDLrXn/9AI/Ah 4FrSQor53HmVRRjbsVvwlAOPwlJu4CkMeRjqHjkhITWmd3hfow/9nD4bwvJO304udNfv sEGhrY4Pb8Fs25llhEBQwHD7DPR/WhO9Q/2gE= Original-Received: by 10.236.182.162 with SMTP id o22mr2206078yhm.495.1304365172267; Mon, 02 May 2011 12:39:32 -0700 (PDT) Original-Received: by 10.147.182.5 with HTTP; Mon, 2 May 2011 12:38:52 -0700 (PDT) In-Reply-To: <87oc3kudag.fsf@lifelogs.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 74.125.83.41 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:138989 Archived-At: 2011/5/2 Ted Zlatanov : > 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. =C2=A0If he wants `gnutls-availabl= e-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 =3D Fassq (Qgnutls_dll, Vlibrary_cache); if (CONSP (found)) return XCDR (found); else return init_gnutls_functions () ? Qt : Qnil; #else return Qnil #endif } =C2=A0 =C2=A0 Juanma