diff options
Diffstat (limited to 'daemon/digest.c')
-rw-r--r-- | daemon/digest.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/daemon/digest.c b/daemon/digest.c index 2a5843e..6ed08a3 100644 --- a/daemon/digest.c +++ b/daemon/digest.c @@ -39,13 +39,14 @@ static const char* g_http_methods[] = { "GET", "HEAD", "POST", "PUT", "DELETE", "TRACE", "CONNECT", NULL }; -typedef struct internal_nonce +struct internal_nonce { unsigned char hash[MD5_LEN]; time_t tm; unsigned int unique; -} -internal_nonce_t __attribute__((packed)); +} __attribute__((__packed__)); + +typedef struct internal_nonce internal_nonce_t; void digest_makenonce(unsigned char* nonce, unsigned char* secret, unsigned char* old) { |