summaryrefslogtreecommitdiffstats
path: root/utils/zenutils
diff options
context:
space:
mode:
authorMaurus Cuelenaere <mcuelenaere@gmail.com>2008-08-12 23:53:08 +0000
committerMaurus Cuelenaere <mcuelenaere@gmail.com>2008-08-12 23:53:08 +0000
commitb2c19a5a26879bfe34285f73d08427b270ca5d9e (patch)
tree715ea2b17612bd3609686ad5963e17213c0055e8 /utils/zenutils
parentbc628fe5ce01c8e6e34eeb940949059ad8ff9a5a (diff)
downloadrockbox-b2c19a5a26879bfe34285f73d08427b270ca5d9e.tar.gz
rockbox-b2c19a5a26879bfe34285f73d08427b270ca5d9e.tar.bz2
rockbox-b2c19a5a26879bfe34285f73d08427b270ca5d9e.zip
Search-and-replace was a bit too excessive..
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18265 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'utils/zenutils')
-rw-r--r--utils/zenutils/source/zen_crypt/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/zenutils/source/zen_crypt/main.cpp b/utils/zenutils/source/zen_crypt/main.cpp
index 84fee89bd2..5e596d8c91 100644
--- a/utils/zenutils/source/zen_crypt/main.cpp
+++ b/utils/zenutils/source/zen_crypt/main.cpp
@@ -47,7 +47,7 @@ struct player_info_t
{
const char* name;
const char* null_key; // HMAC-SHA1 key
- const char* fresc_key_v1; // BlowFish key
+ const char* fresc_key; // BlowFish key
const char* tl_key; // BlowFish key
bool big_endian;
};
@@ -469,7 +469,7 @@ bool decrypt(shared::bytes& data, int mode, player_info_t* pi,
std::cout << "[*] Decrypting input file..." << std::endl;
dword iv[2] = {shared::swap(data.size()), 0};
- if (!zen::bf_cbc_decrypt((const byte*)pi->fresc_key_v1,
+ if (!zen::bf_cbc_decrypt((const byte*)pi->fresc_key,
strlen(pi->fresc_key_v1)+1, &data[0],
data.size(), (const byte*)iv))
{