1
0
Fork 0
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:
Maurus Cuelenaere 2008-08-13 21:00:29 +00:00
parent a7bba0023a
commit ba284447d5

View file

@ -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;