mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
tools/firmware-utils: fix buffalo csum calculation
Also print an error message if decryption fails. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27167 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -179,7 +179,7 @@ int bcrypt_buf(unsigned char seed, unsigned char *key, unsigned char *src,
|
||||
|
||||
uint32_t buffalo_csum(uint32_t csum, void *buf, unsigned long len)
|
||||
{
|
||||
unsigned char *p = buf;
|
||||
char *p = buf;
|
||||
|
||||
while (len--) {
|
||||
int i;
|
||||
|
||||
Reference in New Issue
Block a user