Import of old SSLeay release: SSLeay 0.9.1b (unreleased)
[openssl.git] / crypto / sha / sha1dgst.c
index 2b0ae1f0d444515ccba830d328e65bbcd2febd31..32449ac34b364fe84209b83fa3f6208cf8be9198 100644 (file)
@@ -63,7 +63,7 @@
 #include "sha.h"
 #include "sha_locl.h"
 
-char *SHA1_version="SHA1 part of SSLeay 0.9.0b 29-Jun-1998";
+char *SHA1_version="SHA1 part of SSLeay 0.9.1a 06-Jul-1998";
 
 /* Implemented from SHA-1 document - The Secure Hash Algorithm
  */
@@ -197,7 +197,7 @@ unsigned long len;
         */
 #if 1
 #if defined(B_ENDIAN) || defined(SHA1_ASM)
-       if ((((unsigned int)data)%sizeof(ULONG)) == 0)
+       if ((((unsigned long)data)%sizeof(ULONG)) == 0)
                {
                sw=len/SHA_CBLOCK;
                if (sw)