Skip to content
Snippets Groups Projects
Commit c12ac308 authored by Felix Fietkau's avatar Felix Fietkau
Browse files

buffalo-enc: pass the longstate option to decryption


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

SVN-Revision: 43756
parent 8e843710
No related branches found
No related tags found
No related merge requests found
...@@ -85,6 +85,7 @@ static int decrypt_file(void) ...@@ -85,6 +85,7 @@ static int decrypt_file(void)
memset(&ep, '\0', sizeof(ep)); memset(&ep, '\0', sizeof(ep));
ep.key = (unsigned char *) crypt_key; ep.key = (unsigned char *) crypt_key;
ep.longstate = longstate;
err = decrypt_buf(&ep, buf, src_len); err = decrypt_buf(&ep, buf, src_len);
if (err) { if (err) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment