From c1109eeac35ad9f09202f4ee2be7c3b220d20388 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 --- src/buffalo-enc.c | 1 + 1 file changed, 1 insertion(+) 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) { -- 2.30.2