wahjam/wahjam — pull request #50 by stefanha (2012-05-27 16:08:13+00:00)
Title: Fix WDL_SHA1 word size on 64-bit machines

RFC 3174 "US Secure Hash Algorithm 1 (SHA1)" defines the SHA1 algorithm
in terms of 32-bit words. WDL_SHA1 is not portable to 64-bit
architectures because it uses unsigned long when it should really use
uint32_t.

Switch to uint32_t and also fix a signed/unsigned integer comparison
warning.

Signed-off-by: Stefan Hajnoczi