diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2017-08-03 17:57:24 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2017-08-03 18:36:15 -0700 |
commit | e8ca0c5e16a6887691ee3db739abfdba25e0d578 (patch) | |
tree | cee63ad775d7996718a745a46e646d591a02eaa1 /lisp/shell.el | |
parent | ddc1ff58dec92a782b233d97a254fc41c1c887eb (diff) | |
download | emacs-e8ca0c5e16a6887691ee3db739abfdba25e0d578.tar.gz emacs-e8ca0c5e16a6887691ee3db739abfdba25e0d578.tar.bz2 emacs-e8ca0c5e16a6887691ee3db739abfdba25e0d578.zip |
Fix version numbers for some GnuTLS features
Problem reported by Glenn Morris (Bug#27708#58).
* src/gnutls.c (HAVE_GNUTLS_X509_SYSTEM_TRUST):
New macro. Use it instead of low-level version number checks.
(HAVE_GNUTLS_AEAD): Move here from gnutls.h, and rename from
HAVE_GNUTLS3_AEAD. All uses changed. Indent preprocessor lines.
* src/gnutls.h (HAVE_GNUTLS3_CIPHER, HAVE_GNUTLS3_DIGEST)
(HAVE_GNUTLS3_HMAC): Remove, since these were available
before GnuTLS 3.0.0 and the code checks them only if HAVE_GNUTLS3
is defined. Remove all uses; this simplifies the code a bit.
Diffstat (limited to 'lisp/shell.el')
0 files changed, 0 insertions, 0 deletions