summaryrefslogtreecommitdiff
path: root/modules/pam_timestamp/sha1.h
diff options
context:
space:
mode:
Diffstat (limited to 'modules/pam_timestamp/sha1.h')
-rw-r--r--modules/pam_timestamp/sha1.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/pam_timestamp/sha1.h b/modules/pam_timestamp/sha1.h
index a445e4e6..a1c38917 100644
--- a/modules/pam_timestamp/sha1.h
+++ b/modules/pam_timestamp/sha1.h
@@ -40,12 +40,13 @@
#include <stdint.h>
#include <sys/types.h>
+#include "pam_cc_compat.h"
#define SHA1_BLOCK_SIZE 64
struct sha1_context {
size_t count;
- unsigned char pending[SHA1_BLOCK_SIZE];
+ unsigned char pending[SHA1_BLOCK_SIZE] PAM_ATTRIBUTE_ALIGNED(4);
uint32_t counts[2];
size_t pending_count;
uint32_t a, b, c, d, e;