mirror of
https://github.com/samba-team/samba.git
synced 2025-01-13 13:18:06 +03:00
46955bc766
The Coverity build is failing with the following errors: [1936/5164] Compiling lib/crypto/gkdi.c In file included from /usr/lib64/gcc/x86_64-suse-linux/7/include/stdint.h:9:0, from /usr/include/inttypes.h:27, from ../../lib/crypto/../replace/replace.h:64, from ../../source4/include/includes.h:23, from ../../lib/crypto/gkdi.c:21: ../../lib/crypto/gkdi.c: In function ‘gkdi_get_key_start_time’: ../../lib/crypto/gkdi.c:197:4: error: initializer element is not constant UINT64_MAX / ^ ../../lib/crypto/gkdi.c:197:4: note: (near initialization for ‘max_gkid.l0_idx’) ../../lib/crypto/gkdi.c:200:4: error: initializer element is not constant UINT64_MAX / ^ ../../lib/crypto/gkdi.c:200:4: note: (near initialization for ‘max_gkid.l1_idx’) ../../lib/crypto/gkdi.c:204:4: error: initializer element is not constant UINT64_MAX / gkdi_key_cycle_duration % ^ ../../lib/crypto/gkdi.c:204:4: note: (near initialization for ‘max_gkid.l2_idx’) Fix the build by removing the ‘static’ specifier on this constant. Signed-off-by: Jo Sutton <josutton@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> |
||
---|---|---|
.. | ||
tests | ||
aes.h | ||
crypto.h | ||
gkdi.c | ||
gkdi.h | ||
gmsa.c | ||
gmsa.h | ||
gnutls_aead_aes_256_cbc_hmac_sha512.c | ||
gnutls_arcfour_confounded_md5.c | ||
gnutls_error.c | ||
gnutls_helpers.h | ||
gnutls_server_end_point_cb.c | ||
gnutls_sp800_108.c | ||
gnutls_weak_crypto.c | ||
md4.c | ||
md4.h | ||
md4test.c | ||
py_crypto.c | ||
REQUIREMENTS | ||
test_gkdi_key_derivation.c | ||
test_gkdi.c | ||
wscript |