--- sha1.c.orig 2009-06-15 20:50:19.000000000 -0300 +++ sha1.c 2009-06-20 15:35:10.000000000 -0300 @@ -147,7 +147,7 @@ uint32_t l[16]; } CHAR64LONG16; CHAR64LONG16* block; - uint32_t workspace[16]; + uint8_t workspace[64]; block = (CHAR64LONG16 *) workspace; memcpy(block, buffer, 64);