summaryrefslogtreecommitdiffstats
path: root/contrib/libottery
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/libottery')
-rw-r--r--contrib/libottery/ottery-internal.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/libottery/ottery-internal.h b/contrib/libottery/ottery-internal.h
index 2d8a03185..7e3f46e05 100644
--- a/contrib/libottery/ottery-internal.h
+++ b/contrib/libottery/ottery-internal.h
@@ -196,16 +196,16 @@ struct ottery_config {
#define ottery_state_nolock ottery_state
-struct __attribute__((aligned(16))) ottery_state {
+struct RSPAMD_ALIGNED(16) ottery_state {
/**
* Holds up to prf.output_len bytes that have been generated by the
* pseudorandom function. */
- __attribute__ ((aligned (16))) uint8_t buffer[MAX_OUTPUT_LEN];
+ uint8_t buffer[MAX_OUTPUT_LEN] RSPAMD_ALIGNED(16);
/**
* Holds the state information (typically nonces and keys) used by the
* pseudorandom function. */
- __attribute__ ((aligned (16))) uint8_t state[MAX_STATE_LEN];
+ uint8_t state[MAX_STATE_LEN] RSPAMD_ALIGNED(16);
/**
* Parameters and function pointers for the cryptographic pseudorandom
* function that we're using. */