]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virCryptoEncryptDataAESgnutls: Don't secure erase gnutls_datum_t structs
authorPeter Krempa <pkrempa@redhat.com>
Thu, 8 Dec 2022 09:56:28 +0000 (10:56 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 19 Dec 2022 13:40:26 +0000 (14:40 +0100)
commit53e46e4cd67835c9dfcf1a20df74ae42e1450155
tree0cb876025774c3eff010107c14083d863b865785
parentac3614b5ad352817b9a2688ef114fda60a267d90
virCryptoEncryptDataAESgnutls: Don't secure erase gnutls_datum_t structs

'gnutls_datum_t' simply holds pointers to the encryption key and its
length. There's absolutely no point in securely erasing that.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/util/vircrypto.c