buffalo-enc: pass the longstate option to decryption

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43756
This commit is contained in:
Felix Fietkau 2014-12-20 15:26:31 +00:00
parent 8e8437103c
commit c12ac30870
1 changed files with 1 additions and 0 deletions

View File

@ -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) {