mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 07:38:19 +00:00
Remove inline from some static KeyedHash members
Coverity Scan builds currently encounter catastrophic error, claiming alignas requires use on both declaration and definition, so appears to actually not understand "static inline" in combo with alignas.
This commit is contained in:
parent
2893eea045
commit
8561c79363
2 changed files with 7 additions and 3 deletions
|
@ -186,11 +186,11 @@ public:
|
|||
|
||||
private:
|
||||
// actually HHKey. This key changes each start (unless a seed is specified)
|
||||
alignas(32) inline static uint64_t shared_highwayhash_key[4];
|
||||
alignas(32) static uint64_t shared_highwayhash_key[4];
|
||||
// actually HHKey. This key is installation specific and sourced from the digest_salt script-level const.
|
||||
alignas(32) inline static uint64_t cluster_highwayhash_key[4];
|
||||
alignas(32) static uint64_t cluster_highwayhash_key[4];
|
||||
// actually HH_U64, which has the same type. This key changes each start (unless a seed is specified)
|
||||
alignas(16) inline static unsigned long long shared_siphash_key[2];
|
||||
alignas(16) static unsigned long long shared_siphash_key[2];
|
||||
// This key changes each start (unless a seed is specified)
|
||||
inline static uint8_t shared_hmac_md5_key[16];
|
||||
inline static bool seeds_initialized = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue