projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
firmware-utils: rename encrypt()/decrypt() in mkhilinkfw to avoid collisions
[openwrt/openwrt.git]
/
tools
/
firmware-utils
/
src
/
buffalo-lib.c
diff --git
a/tools/firmware-utils/src/buffalo-lib.c
b/tools/firmware-utils/src/buffalo-lib.c
index 29aee9f88dd44e874499ee5477d2a3a4b8cc9d87..add3a7e0233adb01b4e3876dcc55d79e6a8cc456 100644
(file)
--- a/
tools/firmware-utils/src/buffalo-lib.c
+++ b/
tools/firmware-utils/src/buffalo-lib.c
@@
-249,10
+249,10
@@
static uint32_t get_be32(void *data)
static int check_magic(void *magic)
{
static int check_magic(void *magic)
{
- if (!memcmp("start", magic, ENC_MAGIC_LEN))
;
+ if (!memcmp("start", magic, ENC_MAGIC_LEN))
return 0;
return 0;
- if (!memcmp("asar1", magic, ENC_MAGIC_LEN))
;
+ if (!memcmp("asar1", magic, ENC_MAGIC_LEN))
return 0;
return -1;
return 0;
return -1;