From c12ac30870a6e68dc3ebaf025275c6885cbb9285 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sat, 20 Dec 2014 15:26:31 +0000 Subject: [PATCH] buffalo-enc: pass the longstate option to decryption Signed-off-by: Felix Fietkau SVN-Revision: 43756 --- tools/firmware-utils/src/buffalo-enc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/firmware-utils/src/buffalo-enc.c b/tools/firmware-utils/src/buffalo-enc.c index 9eec7a0a578..59b66ab930c 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) { -- 2.30.2