Skip to content
Snippets Groups Projects
Commit e089e28d authored by Jan Kadlec's avatar Jan Kadlec
Browse files

Replaced CRC32 call with call to adler32.

- The wrapper still needs to be removed and direct call should be used. See #1852
parent cb42e7e0
No related branches found
No related tags found
No related merge requests found
......@@ -46,7 +46,7 @@ typedef uint32_t crc_t;
*****************************************************************************/
static inline crc_t crc_init(void)
{
return crc32(0L, NULL, 0);
return adler32(0L, NULL, 0);
}
......@@ -60,7 +60,7 @@ static inline crc_t crc_init(void)
*****************************************************************************/
static inline crc_t crc_update(crc_t crc, const unsigned char *data, size_t data_len)
{
return crc32(crc, data, data_len);
return adler32(crc, data, data_len);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment