summaryrefslogtreecommitdiffstats
path: root/utils/zenutils/source
diff options
context:
space:
mode:
Diffstat (limited to 'utils/zenutils/source')
-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))
{