mirror of
https://github.com/samba-team/samba.git
synced 2025-02-01 05:47:28 +03:00
1432314f5c
Clang gives the following error: ../../libcli/smb/smb2_signing.c:547:48: error: implicit conversion from enumeration type 'gnutls_mac_algorithm_t' to different enumeration type 'gnutls_digest_algorithm_t' [-Werror,-Wenum-conversion] const size_t digest_len = gnutls_hash_get_len(GNUTLS_MAC_SHA256); ~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~ Should be using GNUTLS_DIG_SHA256, which is set to GNUTLS_MAC_SHA256. Signed-off-by: Gary Lockyer <gary@catalyst.net.nz> Reviewed-by: Andreas Schneider <asn@samba.org> Autobuild-User(master): Gary Lockyer <gary@samba.org> Autobuild-Date(master): Mon Mar 29 23:19:24 UTC 2021 on sn-devel-184