fix crc32
This commit is contained in:
parent
19f58dd971
commit
2400f0f43d
|
@ -68,7 +68,6 @@ static const unsigned int crc_table[256] = {
|
||||||
|
|
||||||
unsigned int crc32(const unsigned char *buffer, unsigned int len)
|
unsigned int crc32(const unsigned char *buffer, unsigned int len)
|
||||||
{
|
{
|
||||||
return 0;
|
|
||||||
unsigned int crc;
|
unsigned int crc;
|
||||||
crc = 0;
|
crc = 0;
|
||||||
crc = crc ^ 0xffffffffL;
|
crc = crc ^ 0xffffffffL;
|
||||||
|
|
Loading…
Reference in New Issue