mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
buffalo-enc: pass the longstate option to decryption
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43756 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
bfb4eff41b
commit
ee8e2b723e
@ -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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user