From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] GnuTLS support on Woe32 Date: Tue, 03 May 2011 00:45:40 +0200 Organization: Programmerer Ingebrigtsen Message-ID: References: <87ipvwl1nx.wl%claudio.bley@gmail.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> <87zkn4sx43.fsf@lifelogs.com> <87aaf4ajmz.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1304376367 1969 80.91.229.12 (2 May 2011 22:46:07 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 2 May 2011 22:46:07 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue May 03 00:46:03 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 1QH1sN-0003Hg-DX for ged-emacs-devel@m.gmane.org; Tue, 03 May 2011 00:45:59 +0200 Original-Received: from localhost ([::1]:40222 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QH1sN-0004j4-09 for ged-emacs-devel@m.gmane.org; Mon, 02 May 2011 18:45:59 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:54265) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QH1sK-0004iz-Ld for emacs-devel@gnu.org; Mon, 02 May 2011 18:45:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QH1sJ-0002ZB-JE for emacs-devel@gnu.org; Mon, 02 May 2011 18:45:56 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:36606) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QH1sJ-0002Z7-6z for emacs-devel@gnu.org; Mon, 02 May 2011 18:45:55 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QH1sH-0003EJ-2b for emacs-devel@gnu.org; Tue, 03 May 2011 00:45:53 +0200 Original-Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 03 May 2011 00:45:53 +0200 Original-Received: from larsi by cm-84.215.51.58.getinternet.no with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 03 May 2011 00:45:53 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 17 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: cm-84.215.51.58.getinternet.no Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAElBMVEUyIBa8tbSBdmYeDAti WD9JOyiSi0jtAAACWUlEQVQ4jU1Uy5LbIBAkwdwXJN8XLN9lE98lNNyJBf//K+kZKGcpl6s0Pc+e BqWUMm2couLnwN5azQNRfDT/Rba3SjgDaH6uLoQTeaif3PKW4eZdDQx094UB/FR7e1utdQAIOABA Umq3lj0HsCRacqvJz2afraNKpQOAiJJHCuMdAO+Kqont6R4sH2f4L+/+HEA34wDwlqQrSsHbzymd BkzZUvphtwcmyUwOR/wEbqqThgiiXUwdnmAY3AzAOQG+BChqVaZSEsAKPhuZH+yamipbQu/NwZEz aY4gnsIti+RS+JbiTDs7X6mHsKcAzDs3HEb1IrkKL5wWdg0gTwYxdVNN/+/XWy+ETaYeqC3t0lsi grT9ZegwrAVDTQDvvbQ1NzqKiKRWcXXeX/sgtLXCTWGPHHH1qJGxDh5dgRLUXoJdKlJ9n8+TAcoX DUoyqqMjfz7LsaNjfGdqQjtSXWM84vPcz6f9ZqAwUJdsp2e0+nF73H7xqmpmdlmHdn5FPz2+YvR2 iqvhfqErcOLi8ZhedknBAr0UXANwVfPu4vS4/Xb5fvdzjH9UB0CW4yT2ukFLTpuq0C7UUvNf19fr scigUbYwAEGnIR4RZYEc+gaXJAD4DZ4BEqAZtAV5B9k8YjYFsgovKi25Do1YF+48X5O7TLW1IXfc E+wcC4x9cugksDfMuqm3WgVgXcmtQo/YAu7BIRHoF3KhDBbiWmqBPjd5GXBRUKPoqKNZ26YuWZn+ ZMgVKhp5X+flXC/bAFY1HhCetR1IF9XJQOx2RLxE/nFdi0R83iHNseZj+gf337+63KnmYgAAAABJ RU5ErkJggg== Mail-Copies-To: never X-Now-Playing: Various's _The BYG Deal_: "Coeur Magique - Madmoiselle Marie " User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:J6DmAgfqx+vyAB8J4H4XC0dUx1g= 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.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:139010 Archived-At: Chong Yidong 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/