aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-12-20 15:26:31 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-12-20 15:26:31 +0000
commitc12ac30870a6e68dc3ebaf025275c6885cbb9285 (patch)
treeb1946fa3359aad218c549bc7ab1d0d37fb55a301
parent8e8437103c6bf82a42560093774081c68396a473 (diff)
downloadupstream-c12ac30870a6e68dc3ebaf025275c6885cbb9285.tar.gz
upstream-c12ac30870a6e68dc3ebaf025275c6885cbb9285.tar.bz2
upstream-c12ac30870a6e68dc3ebaf025275c6885cbb9285.zip
buffalo-enc: pass the longstate option to decryption
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43756
-rw-r--r--tools/firmware-utils/src/buffalo-enc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/firmware-utils/src/buffalo-enc.c b/tools/firmware-utils/src/buffalo-enc.c
index 9eec7a0a57..59b66ab930 100644
--- a/tools/firmware-utils/src/buffalo-enc.c
+++ b/tools/firmware-utils/src/buffalo-enc.c
@@ -85,6 +85,7 @@ static int decrypt_file(void)
memset(&ep, '\0', sizeof(ep));
ep.key = (unsigned char *) crypt_key;
+ ep.longstate = longstate;
err = decrypt_buf(&ep, buf, src_len);
if (err) {