forked from len0rd/rockbox
Fix little mistake; thanks to Dave Hooper
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18272 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
a7bba0023a
commit
ba284447d5
1 changed files with 1 additions and 1 deletions
|
@ -470,7 +470,7 @@ bool decrypt(shared::bytes& data, int mode, player_info_t* pi,
|
||||||
|
|
||||||
dword iv[2] = {shared::swap(data.size()), 0};
|
dword iv[2] = {shared::swap(data.size()), 0};
|
||||||
if (!zen::bf_cbc_decrypt((const byte*)pi->fresc_key,
|
if (!zen::bf_cbc_decrypt((const byte*)pi->fresc_key,
|
||||||
strlen(pi->fresc_key_v1)+1, &data[0],
|
strlen(pi->fresc_key)+1, &data[0],
|
||||||
data.size(), (const byte*)iv))
|
data.size(), (const byte*)iv))
|
||||||
{
|
{
|
||||||
std::cerr << "Failed to decrypt the input file." << std::endl;
|
std::cerr << "Failed to decrypt the input file." << std::endl;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue