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 | ee8e2b723ea18b95c976d85dd17fca65209057fc (patch) | |
tree | e775ec1380b479002a7fd69590c3da33c4799cc9 /tools | |
parent | bfb4eff41bfcbf82448882512b058d43dcae276a (diff) | |
download | upstream-ee8e2b723ea18b95c976d85dd17fca65209057fc.tar.gz upstream-ee8e2b723ea18b95c976d85dd17fca65209057fc.tar.bz2 upstream-ee8e2b723ea18b95c976d85dd17fca65209057fc.zip |
buffalo-enc: pass the longstate option to decryption
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43756 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'tools')
-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 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) { |