summaryrefslogtreecommitdiffstats
path: root/utils/zenutils/source
diff options
context:
space:
mode:
authorMaurus Cuelenaere <mcuelenaere@gmail.com>2008-08-13 21:00:29 +0000
committerMaurus Cuelenaere <mcuelenaere@gmail.com>2008-08-13 21:00:29 +0000
commitba284447d5d0b914a6a875fb8a0e25fcffc1d822 (patch)
tree12a1c073a3de78957dd1b0c797226d6aab6d810e /utils/zenutils/source
parenta7bba0023ab29a51fd9cab3d56560fddc4257104 (diff)
downloadrockbox-ba284447d5d0b914a6a875fb8a0e25fcffc1d822.tar.gz
rockbox-ba284447d5d0b914a6a875fb8a0e25fcffc1d822.tar.bz2
rockbox-ba284447d5d0b914a6a875fb8a0e25fcffc1d822.zip
Fix little mistake; thanks to Dave Hooper
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18272 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'utils/zenutils/source')
-rw-r--r--utils/zenutils/source/zen_crypt/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/zenutils/source/zen_crypt/main.cpp b/utils/zenutils/source/zen_crypt/main.cpp
index 5e596d8c91..532de25078 100644
--- a/utils/zenutils/source/zen_crypt/main.cpp
+++ b/utils/zenutils/source/zen_crypt/main.cpp
@@ -470,7 +470,7 @@ bool decrypt(shared::bytes& data, int mode, player_info_t* pi,
dword iv[2] = {shared::swap(data.size()), 0};
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))
{
std::cerr << "Failed to decrypt the input file." << std::endl;