X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/41082590e3aeb09f43656836f71b970551be5e98..7e491e9a720265b21021407cc20bff038aa6b00e:/tools/firmware-utils/src/buffalo-enc.c?ds=sidebyside diff --git a/tools/firmware-utils/src/buffalo-enc.c b/tools/firmware-utils/src/buffalo-enc.c index 94de53e91..13d270b3f 100644 --- a/tools/firmware-utils/src/buffalo-enc.c +++ b/tools/firmware-utils/src/buffalo-enc.c @@ -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);