emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] scratch/tzz/nettle 1f660ae: WIP: GnuTLS: add TODOs for aut


From: Teodor Zlatanov
Subject: [Emacs-diffs] scratch/tzz/nettle 1f660ae: WIP: GnuTLS: add TODOs for autoconf fixes
Date: Wed, 19 Apr 2017 16:47:26 -0400 (EDT)

branch: scratch/tzz/nettle
commit 1f660aec6e1bde5e440a930b606b06b97a353c85
Author: Ted Zlatanov <address@hidden>
Commit: Ted Zlatanov <address@hidden>

    WIP: GnuTLS: add TODOs for autoconf fixes
---
 configure.ac | 1 +
 src/gnutls.c | 1 +
 2 files changed, 2 insertions(+)

diff --git a/configure.ac b/configure.ac
index f12472a..4305360 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2789,6 +2789,7 @@ if test "${with_gnutls}" = "yes" ; then
     AC_DEFINE(HAVE_GNUTLS, 1, [Define if using GnuTLS.])
     EMACS_CHECK_MODULES([LIBGNUTLS3], [gnutls >= 3.0.0],
       [AC_DEFINE(HAVE_GNUTLS3, 1, [Define if using GnuTLS v3.])], [])
+      dnl TODO: check the relevant functions directly, this is not great
     EMACS_CHECK_MODULES([LIBGNUTLS3_AEAD], [gnutls >= 3.4.0],
       [AC_DEFINE(HAVE_GNUTLS3_AEAD, 1, [Define if using GnuTLS v3 with AEAD 
support.])], [])
   fi
diff --git a/src/gnutls.c b/src/gnutls.c
index 0488c8d..962e62c 100644
--- a/src/gnutls.c
+++ b/src/gnutls.c
@@ -2401,6 +2401,7 @@ GnuTLS AEAD ciphers     : the list will contain 
'AEAD-ciphers.  */)
 #ifdef HAVE_GNUTLS
   Lisp_Object capabilities = Qnil;
 
+  // TODO: fix the autoconf function-checking macros that will tell us for 
sure.
 #ifdef HAVE_GNUTLS3_AEAD
   capabilities = Fcons (intern("AEAD-ciphers"), capabilities);
 #endif



reply via email to

[Prev in Thread] Current Thread [Next in Thread]