]> git.eshelyaron.com Git - emacs.git/commit
Use explicit_bzero to clear GnuTLS keys
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 16 Jul 2017 23:22:33 +0000 (16:22 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 16 Jul 2017 23:29:12 +0000 (16:29 -0700)
commit59f6972134f312863dc761bf66a954a8036d0d86
treecd479a7fe59b72985f98e57c4b4d861c01cf5bc8
parent252444aaa3a7cb9fc70289a5a3920f8a9d848109
Use explicit_bzero to clear GnuTLS keys

* admin/merge-gnulib (GNULIB_MODULES): Add explicit_bzero.
* lib/explicit_bzero.c, m4/explicit_bzero.m4: New files.
* lib/gnulib.mk.in, m4/gnulib-comp.m4: Regenerate.
* src/gnutls.c (clear_storage): New function.
(gnutls_symmetric_aead): Use it instead of memset.
admin/merge-gnulib
lib/explicit_bzero.c [new file with mode: 0644]
lib/gnulib.mk.in
m4/explicit_bzero.m4 [new file with mode: 0644]
m4/gnulib-comp.m4
src/gnutls.c