Fix invocation of gnutls_aead_cipher_encrypt()
commit25edad412a3d503114a805b434a729d5d2786b3f
authorTimur I. Bakeyev <timur@iXsystems.com>
Thu, 22 Mar 2018 04:47:58 +0000 (22 05:47 +0100)
committerKarolin Seeger <kseeger@samba.org>
Fri, 6 Apr 2018 06:21:13 +0000 (6 08:21 +0200)
treefc0d2304fddf2dc71eea471018ecd9991080a26d
parent8a77ae09ee1522d01746a4cb7fd5661b980b86d7
Fix invocation of gnutls_aead_cipher_encrypt()

Which was failing with GNUTLS_E_SHORT_MEMORY_BUFFER - The given memory
buffer is too short to hold parameters.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13352

Signed-off-by: Timur I. Bakeyev <timur@iXsystems.com>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
Autobuild-User(master): Garming Sam <garming@samba.org>
Autobuild-Date(master): Fri Mar 23 07:25:30 CET 2018 on sn-devel-144

(cherry picked from commit b9f0c7f93c058685e24d104432978bd40b94b49f)
source4/dsdb/samdb/ldb_modules/encrypted_secrets.c