tools/firmware-utils: fix buffalo csum calculation
[openwrt.git] / tools / firmware-utils / src / buffalo-enc.c
index 94de53e..13d270b 100644 (file)
@@ -87,8 +87,10 @@ static int decrypt_file(void)
        ep.key = (unsigned char *) crypt_key;
 
        err = decrypt_buf(&ep, buf, src_len);
-       if (err)
+       if (err) {
+               ERR("unable to decrypt '%s'", ifname);
                goto out;
+       }
 
        printf("Magic\t\t: '%s'\n", ep.magic);
        printf("Seed\t\t: 0x%02x\n", ep.seed);
This page took 0.024749 seconds and 4 git commands to generate.