Skip to content

Commit

Permalink
Fixed calling error
Browse files Browse the repository at this point in the history
  • Loading branch information
hozuki committed Feb 21, 2019
1 parent 0494231 commit c7eb542
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/kawashima/hca/CHcaCipherConverter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ CGSS_NS_BEGIN
cipherFrom->Decrypt(blockBuffer, validDataSize);

// Check magic piece of plain text.
CHcaData data(blockBuffer, hcaInfo.blockSize);
CHcaData data(blockBuffer, hcaInfo.blockSize, hcaInfo.blockSize);
const auto magic = data.GetBit(16);
if (magic != 0xffff) {
char numberBuffer[20] = {0};
Expand Down

0 comments on commit c7eb542

Please sign in to comment.