From: Felix Fietkau Date: Sat, 20 Dec 2014 15:26:31 +0000 (+0000) Subject: buffalo-enc: pass the longstate option to decryption X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=c1109eeac35ad9f09202f4ee2be7c3b220d20388;p=project%2Ffirmware-utils.git buffalo-enc: pass the longstate option to decryption Signed-off-by: Felix Fietkau SVN-Revision: 43756 --- diff --git a/src/buffalo-enc.c b/src/buffalo-enc.c index 9eec7a0..59b66ab 100644 --- a/src/buffalo-enc.c +++ b/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) {