mirror of
https://github.com/samba-team/samba.git
synced 2025-01-04 05:18:06 +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 |
||
---|---|---|
.. | ||
read_smb.c | ||
read_smb.h | ||
smb1cli_close.c | ||
smb1cli_create.c | ||
smb1cli_echo.c | ||
smb1cli_read.c | ||
smb1cli_session.c | ||
smb1cli_trans.c | ||
smb1cli_write.c | ||
smb2_constants.h | ||
smb2_create_blob.c | ||
smb2_create_blob.h | ||
smb2_create_ctx.h | ||
smb2_lease.c | ||
smb2_lease.h | ||
smb2_lock.h | ||
smb2_negotiate_context.c | ||
smb2_negotiate_context.h | ||
smb2_posix.c | ||
smb2_posix.h | ||
smb2_signing.c | ||
smb2_signing.h | ||
smb2cli_close.c | ||
smb2cli_create.c | ||
smb2cli_echo.c | ||
smb2cli_flush.c | ||
smb2cli_ioctl.c | ||
smb2cli_notify.c | ||
smb2cli_query_directory.c | ||
smb2cli_query_info.c | ||
smb2cli_read.c | ||
smb2cli_session.c | ||
smb2cli_set_info.c | ||
smb2cli_tcon.c | ||
smb2cli_write.c | ||
smb_common.h | ||
smb_constants.h | ||
smb_seal.c | ||
smb_seal.h | ||
smb_signing.c | ||
smb_signing.h | ||
smb_unix_ext.h | ||
smb_util.h | ||
smbXcli_base.c | ||
smbXcli_base.h | ||
test_smb1cli_session.c | ||
test_util_translate.c | ||
tstream_smbXcli_np.c | ||
tstream_smbXcli_np.h | ||
util.c | ||
wscript |