summaryrefslogtreecommitdiff
path: root/daemon/digest.c
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2010-03-01 22:50:43 +0000
committerStef Walter <stef@memberwebs.com>2010-03-01 22:50:43 +0000
commit0763cc75c4e81c55cb240bc7795465d432f5daab (patch)
tree27aca7db7e5946e6289cdb239efde1ff15222215 /daemon/digest.c
parent15d0c3bcc4d86829eddda0126b409cd76d90ba8f (diff)
Fix problem on 64-bit where structure doesn't match data
Diffstat (limited to 'daemon/digest.c')
-rw-r--r--daemon/digest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/digest.c b/daemon/digest.c
index 4b00152..2a5843e 100644
--- a/daemon/digest.c
+++ b/daemon/digest.c
@@ -45,7 +45,7 @@ typedef struct internal_nonce
time_t tm;
unsigned int unique;
}
-internal_nonce_t;
+internal_nonce_t __attribute__((packed));
void digest_makenonce(unsigned char* nonce, unsigned char* secret, unsigned char* old)
{