projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ef1b7c
)
* src/gnutls.c (clear_storage): Define only if needed.
author
Philipp Stephani
<phst@google.com>
Wed, 19 Jul 2017 19:21:40 +0000
(21:21 +0200)
committer
Philipp Stephani
<phst@google.com>
Wed, 19 Jul 2017 19:21:40 +0000
(21:21 +0200)
src/gnutls.c
patch
|
blob
|
history
diff --git
a/src/gnutls.c
b/src/gnutls.c
index e406d6651904f9916785f3d84f227a132cf0dd44..7c9884085283b8d90ce47ebe86245896132316d2 100644
(file)
--- a/
src/gnutls.c
+++ b/
src/gnutls.c
@@
-1891,6
+1891,8
@@
The alist key is the cipher name. */)
return ciphers;
}
+#ifdef HAVE_GNUTLS3_AEAD
+
/* Zero out STORAGE (even if it will become inaccessible. It has
STORAGE_LENGTH bytes. The goal is to improve security a bit, in
case an Emacs module or some buggy part of Emacs attempts to
@@
-1907,6
+1909,8
@@
clear_storage (void *storage, ptrdiff_t storage_length)
explicit_bzero (storage, storage_length);
}
+#endif /* HAVE_GNUTLS3_AEAD */
+
static Lisp_Object
gnutls_symmetric_aead (bool encrypting, gnutls_cipher_algorithm_t gca,
Lisp_Object cipher,