mirror of
https://github.com/rspamd/rspamd.git
synced 2024-08-13 14:12:38 +02:00
Fix siphash static initializer.
This commit is contained in:
parent
9d8c61c149
commit
7c2a321e83
@ -65,17 +65,16 @@
|
||||
#include <stddef.h> /* size_t */
|
||||
#include <stdint.h> /* uint64_t uint32_t uint8_t */
|
||||
|
||||
#define SIPHASH_INITIALIZER { 0, 0, 0, 0, { 0 }, 0, 0 }
|
||||
#define SIPHASH_INITIALIZER { 0, 0, 0, 0, 0, 0, {{0}} }
|
||||
|
||||
struct siphash {
|
||||
uint64_t v0, v1, v2, v3;
|
||||
|
||||
uint64_t c;
|
||||
unsigned char *p;
|
||||
union {
|
||||
unsigned char buf[8];
|
||||
uint64_t m;
|
||||
} b;
|
||||
unsigned char *p;
|
||||
uint64_t c;
|
||||
}; /* struct siphash */
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user