diff options
Diffstat (limited to 'utils/zenutils/source')
| -rw-r--r-- | utils/zenutils/source/zen_crypt/main.cpp | 2 |
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 5e596d8..532de25 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; |