fix VC6 error

This commit is contained in:
Chris Danford
2004-04-22 04:37:53 +00:00
parent 6f3ad36e24
commit 6486f449ff
+1 -1
View File
@@ -134,7 +134,7 @@ void SHA_Bytes(SHA_State * s, const void *p, int len)
(((uint32_t) s->block[i * 4 + 2]) << 8) |
(((uint32_t) s->block[i * 4 + 3]) << 0);
}
SHATransform(s->h, wordblock);
SHATransform((unsigned int *)s->h, (unsigned int *)wordblock);
s->blkused = 0;
}
memcpy(s->block, q, len);