diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-12-20 15:26:31 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-12-20 15:26:31 +0000 |
commit | c12ac30870a6e68dc3ebaf025275c6885cbb9285 (patch) | |
tree | b1946fa3359aad218c549bc7ab1d0d37fb55a301 /tools/firmware-utils/src/buffalo-enc.c | |
parent | 8e8437103c6bf82a42560093774081c68396a473 (diff) | |
download | mtk-20170518-c12ac30870a6e68dc3ebaf025275c6885cbb9285.zip mtk-20170518-c12ac30870a6e68dc3ebaf025275c6885cbb9285.tar.gz mtk-20170518-c12ac30870a6e68dc3ebaf025275c6885cbb9285.tar.bz2 |
buffalo-enc: pass the longstate option to decryption
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43756
Diffstat (limited to 'tools/firmware-utils/src/buffalo-enc.c')
-rw-r--r-- | tools/firmware-utils/src/buffalo-enc.c | 1 |
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 9eec7a0..59b66ab 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) { |