libcli:smb: Prefer AES-GCM over AES-CCM with GnuTLS
authorAndreas Schneider <asn@samba.org>
Fri, 15 Mar 2019 15:25:28 +0000 (16:25 +0100)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 27 Aug 2019 04:44:41 +0000 (04:44 +0000)
commit454ed53221b1374ad8148e922b64c3788ad4998e
tree9bd057e1339bd9fe0b8020cb8aae8f61216bdec6
parentf24f26aaa58b9223e2c0cfd3e5086278b27903f1
libcli:smb: Prefer AES-GCM over AES-CCM with GnuTLS

The AES-GCM implementation in GnuTLS is faster.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Adapted to remove Samba AES support

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
libcli/smb/smbXcli_base.c