Skip to content

Commit

Permalink
Merge pull request #10 from NijiharaTsubasa/v5-beta
Browse files Browse the repository at this point in the history
fix V4 decryption
  • Loading branch information
MikuAuahDark authored Mar 4, 2017
2 parents d2eac1c + 73d8ebe commit bbd9a58
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/V3_Decrypter.cc
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ _jumpFunc(&jumpV3)
throw std::runtime_error(std::string("Header file doesn't match."));

is_finalized = false;
init_key = (mctx.digestRaw[3] << 24) |
(mctx.digestRaw[2] << 16) |
(mctx.digestRaw[1] << 8) | mctx.digestRaw[0];
init_key = (mctx.digestRaw[8] << 24) |
(mctx.digestRaw[9] << 16) |
(mctx.digestRaw[10] << 8) | mctx.digestRaw[11];
version = 3;
}

Expand Down

0 comments on commit bbd9a58

Please sign in to comment.