Simplify recent gnutls.c changes
commitffde1e9b9e9aa763e18f009e0d54345f509134db
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 20 Jul 2017 23:21:57 +0000 (20 16:21 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 20 Jul 2017 23:22:36 +0000 (20 16:22 -0700)
tree5ee0dfe4e9d9f75cd28f798f1e079ef7b0d8c5d7
parentdf26f09f0c62f678fccb7a64dfa7d24202883c2b
Simplify recent gnutls.c changes

* src/gnutls.c (clear_storage) [HAVE_GNUTLS3_AEAD]: Remove.
All uses replaced by calls to explicit_bzero; that’s clear enough.
(gnutls_symmetric_aead) [HAVE_GNUTLS3_AEAD]: Simplify by
coalescing duplicate actions.  There is no need to invoke
SAFE_FREE before calling ‘error’.
src/gnutls.c