From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] GnuTLS support on Woe32 Date: Tue, 22 Mar 2011 16:18:53 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87sjueua4i.fsf@lifelogs.com> References: <87ipvwl1nx.wl%claudio.bley@gmail.com> <87ipvuwslp.wl%claudio.bley@gmail.com> <87hbbc0zi6.wl%claudio.bley@gmail.com> <83oc5gsdwc.fsf@gnu.org> <87ei6bunxz.wl%claudio.bley@gmail.com> <83tyf6rhgn.fsf@gnu.org> <84zkoy6tah.wl%claudio.bley@gmail.com> <87hbb5a4xq.fsf@lifelogs.com> <84ipvkx1da.wl%claudio.bley@gmail.com> <87d3ls7n3b.fsf@lifelogs.com> <87vczdwjuk.wl%claudio.bley@gmail.com> <87k4fr3koi.fsf@lifelogs.com> <87aagn2tpr.fsf@lifelogs.com> <87lj07umkl.fsf@lifelogs.com> <87d3ljujgk.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1300828820 21197 80.91.229.12 (22 Mar 2011 21:20:20 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 22 Mar 2011 21:20:20 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 22 22:20:16 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Q28zw-0006AL-7D for ged-emacs-devel@m.gmane.org; Tue, 22 Mar 2011 22:20:16 +0100 Original-Received: from localhost ([127.0.0.1]:35220 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q28zv-0004ZN-BJ for ged-emacs-devel@m.gmane.org; Tue, 22 Mar 2011 17:20:15 -0400 Original-Received: from [140.186.70.92] (port=35103 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q28zn-0004T3-VF for emacs-devel@gnu.org; Tue, 22 Mar 2011 17:20:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q28zm-0000Cq-Ts for emacs-devel@gnu.org; Tue, 22 Mar 2011 17:20:07 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:36229) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q28zm-0000CG-H7 for emacs-devel@gnu.org; Tue, 22 Mar 2011 17:20:06 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Q28zk-00064J-Ex for emacs-devel@gnu.org; Tue, 22 Mar 2011 22:20:04 +0100 Original-Received: from 38.98.147.130 ([38.98.147.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 22 Mar 2011 22:20:04 +0100 Original-Received: from tzz by 38.98.147.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 22 Mar 2011 22:20:04 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 21 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 38.98.147.130 X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6; d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" User-Agent: Gnus/5.110016 (No Gnus v0.16) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:5HmCntulg0iWwudgaGY0QX2r38Y= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:137543 Archived-At: On Tue, 22 Mar 2011 19:56:16 +0100 Robert Pluim wrote: RP> Ted Zlatanov writes: >> >> Try the attached patch against proto-stream.el in the Emacs trunk. I'll >> refresh my patch to add this change too. RP> That doesn't work for me. Just to be clear, I connect to my imap server RP> on port 993 with TLS, it's not a connection that gets upgraded after the RP> fact, so I suspect proto-stream-open-tls needs to change. Drat, the simple fix didn't work. Can you please set `gnutls-log-level' to 4 and show the whole sequence in *Messages*? I don't think `proto-stream-open-tls' needs to change because it calls `open-gnutls-stream' which in turn sets `gnutls-hostname'. But I don't know that code well at all and may be missing something. Unfortunately it is very DWIM code so it's hard to test it for the "just open a SSL/TLS connection" case. I'll try to look at it again. Ted