From: Felix Fietkau Date: Sat, 20 Dec 2014 15:26:31 +0000 (+0000) Subject: buffalo-enc: pass the longstate option to decryption X-Git-Tag: v19.07.0-rc1~15546 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=c12ac30870a6e68dc3ebaf025275c6885cbb9285;p=openwrt%2Fstaging%2Fhauke.git buffalo-enc: pass the longstate option to decryption Signed-off-by: Felix Fietkau SVN-Revision: 43756 --- 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) {