Skip to content

Commit

Permalink
fix V4 decryption
Browse files Browse the repository at this point in the history
  • Loading branch information
虹原つばさ committed Mar 4, 2017
1 parent d2eac1c commit 73d8ebe
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 73d8ebe

Please sign in to comment.