unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Ted Zlatanov <tzz@lifelogs.com>
Cc: eggert@cs.ucla.edu, 27708@debbugs.gnu.org
Subject: bug#27708: [PROPOSED] Simplify configuration of HAVE_GNUTLS3 etc.
Date: Sat, 15 Jul 2017 22:22:14 +0300	[thread overview]
Message-ID: <83mv85ec9l.fsf@gnu.org> (raw)
In-Reply-To: <87zic5ecsa.fsf@lifelogs.com> (message from Ted Zlatanov on Sat,  15 Jul 2017 15:11:01 -0400)

> From: Ted Zlatanov <tzz@lifelogs.com>
> Cc: Paul Eggert <eggert@cs.ucla.edu>,  27708@debbugs.gnu.org
> Date: Sat, 15 Jul 2017 15:11:01 -0400
> 
> On Sat, 15 Jul 2017 19:33:40 +0300 Eli Zaretskii <eliz@gnu.org> wrote: 
> 
> EZ> If we want to support the new APIs only starting with GnuTLS 3.4.0,
> EZ> then this is a step in the right direction.  But is that the intent?
> EZ> Most of the functions we need are available in much older versions,
> EZ> and others since 3.2.0.  Only a few appeared in 3.4.0.  So it might
> EZ> also make sense to make our code more fine-grained, not less, if we
> EZ> want to make as many of these APIs available on as many platforms as
> EZ> possible.
> 
> EZ> But I'm not sure what was Ted's intent, and what we want as a project.
> 
> Exactly, and I replied on emacs-devel in the same vein. I'd like to
> ensure people on 3.2.x have as much functionality as possible because
> they may not be able to upgrade quickly.

I see your point, but in that case the code needs "more work", since
in quite a few places the Lisp primitives you wrote mix up functions
available in very old GnuTLS versions with one or two that are only
available in latest versions.  To be able to support older versions of
the library, we need graceful degradation, and that hasn't been coded.
All we can easily do with the current code is return nil instead of
useful information, but that doesn't strike me as "graceful".

> A good starting point is
> https://www.gnutls.org/manual/html_node/Cryptographic-API.html which
> will show the ebb and flow of the API since the 2.x versions.

Alas, the GnuTLS manual doesn't say for each function in what version
it was introduced, it does so only for some of them.





  reply	other threads:[~2017-07-15 19:22 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-15 16:14 bug#27708: [PROPOSED] Simplify configuration of HAVE_GNUTLS3 etc Paul Eggert
2017-07-15 16:33 ` Eli Zaretskii
2017-07-15 19:11   ` Ted Zlatanov
2017-07-15 19:22     ` Eli Zaretskii [this message]
2017-07-16  0:31       ` Paul Eggert
2017-07-16  2:36         ` Eli Zaretskii
2017-07-16 15:18           ` Paul Eggert
2017-07-16 16:08             ` Eli Zaretskii
2017-07-17 15:03               ` Ted Zlatanov
2017-07-26 21:04                 ` Ted Zlatanov
2017-07-26 23:23                   ` Paul Eggert
2017-07-27 21:11                     ` Ted Zlatanov
2017-08-03  2:50                       ` Paul Eggert
2017-08-03 16:06                         ` Glenn Morris
2017-08-03 20:20                           ` Ted Zlatanov
2017-08-03 20:31                             ` Paul Eggert
2017-08-03 20:45                               ` Ted Zlatanov
2017-08-03 21:32                             ` Glenn Morris
2017-08-04  1:41                               ` Paul Eggert
2017-08-04 13:32                                 ` Ted Zlatanov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83mv85ec9l.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=27708@debbugs.gnu.org \
    --cc=eggert@cs.ucla.edu \
    --cc=tzz@lifelogs.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).