From 0763cc75c4e81c55cb240bc7795465d432f5daab Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Mon, 1 Mar 2010 22:50:43 +0000 Subject: Fix problem on 64-bit where structure doesn't match data --- daemon/digest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'daemon') 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) { -- cgit v1.2.3