From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#29147: 27.0.50; gnutls-available-p broken Date: Mon, 06 Nov 2017 23:35:51 +0200 Organization: LINKOV.NET Message-ID: <87zi7z9nq8.fsf@mail.linkov.net> References: <877ev5pv74.fsf@mail.linkov.net> <87inepvvum.fsf@gmail.com> <838tfku4kt.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1510004355 26766 195.159.176.226 (6 Nov 2017 21:39:15 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 6 Nov 2017 21:39:15 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) Cc: 29147-done@debbugs.gnu.org, Robert Pluim , tzz@lifelogs.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Nov 06 22:39:05 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eBp6m-0006Zl-PJ for geb-bug-gnu-emacs@m.gmane.org; Mon, 06 Nov 2017 22:39:04 +0100 Original-Received: from localhost ([::1]:50357 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eBp6t-00048f-OR for geb-bug-gnu-emacs@m.gmane.org; Mon, 06 Nov 2017 16:39:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46544) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eBp6n-000482-5t for bug-gnu-emacs@gnu.org; Mon, 06 Nov 2017 16:39:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eBp6k-0002eQ-2E for bug-gnu-emacs@gnu.org; Mon, 06 Nov 2017 16:39:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:46009) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eBp6j-0002eM-VB for bug-gnu-emacs@gnu.org; Mon, 06 Nov 2017 16:39:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eBp6j-0008ED-PB for bug-gnu-emacs@gnu.org; Mon, 06 Nov 2017 16:39:01 -0500 Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Mon, 06 Nov 2017 21:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 29147 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 29147@debbugs.gnu.org, juri@linkov.net, juri@linkov.net Original-Received: via spool by 29147-done@debbugs.gnu.org id=D29147.151000428431531 (code D ref 29147); Mon, 06 Nov 2017 21:39:01 +0000 Original-Received: (at 29147-done) by debbugs.gnu.org; 6 Nov 2017 21:38:04 +0000 Original-Received: from localhost ([127.0.0.1]:54690 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eBp5n-0008CV-Qn for submit@debbugs.gnu.org; Mon, 06 Nov 2017 16:38:04 -0500 Original-Received: from sub3.mail.dreamhost.com ([69.163.253.7]:36859 helo=homiemail-a39.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eBp5m-0008CN-Da for 29147-done@debbugs.gnu.org; Mon, 06 Nov 2017 16:38:02 -0500 Original-Received: from homiemail-a39.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a39.g.dreamhost.com (Postfix) with ESMTP id 2E728150074; Mon, 6 Nov 2017 13:37:59 -0800 (PST) Original-Received: from localhost.linkov.net (m83-179-179-228.cust.tele2.ee [83.179.179.228]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: jurta@jurta.org) by homiemail-a39.g.dreamhost.com (Postfix) with ESMTPSA id D51D1150069; Mon, 6 Nov 2017 13:37:57 -0800 (PST) In-Reply-To: <838tfku4kt.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 05 Nov 2017 17:29:22 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:139526 Archived-At: >> > The Emacs GnuTLS manual says that gnutls-available-p returns t >> > if GnuTLS is available, but really it returns nil, and I don't see >> > how gnutls-available-p is supposed to return a non-nil value >> > when HAVE_GNUTLS is defined, but HAVE_GNUTLS3 is not. >> >> Its docstring says: >> >> gnutls-available-p is a built-in function in `C source code'. >> >> (gnutls-available-p) >> >> Return list of capabilities if GnuTLS is available in this instance of Emacs. >> >> I see that the info documentation says it returns t, so that needs >> fixing. > > Not just the documentation, the code as well needs fixing. > >> Your point about HAVE_GNUTLS3 is valid, that's true as of commit >> 583995c62dd424775dda33d5134ce04bee2ae685. Ted, was that intentional? > > I cannot see how this could be intentional, because it makes it > impossible to distinguish between GnuTLS 2.x and no GnuTLS at all. So > I fixed this on the release branch. > > If Juri (or someone else) has GnuTLS 2.x, please test and close the > bug if it is indeed fixed. Thanks, with this change it works now without problems, so I'm closing this bug.