- Fixed pkg extraction.
This commit is contained in:
parent
58ae9c3ade
commit
7e54255d29
|
@ -135,7 +135,7 @@ bool PKG::Extract(const std::string& filepath, const std::filesystem::path& extr
|
||||||
}
|
}
|
||||||
|
|
||||||
for (int i = 0; i < 7; i++) {
|
for (int i = 0; i < 7; i++) {
|
||||||
file.Read(key1);
|
file.Read(key1[i]);
|
||||||
}
|
}
|
||||||
|
|
||||||
PKG::crypto.RSA2048Decrypt(dk3_, key1[3], true); // decrypt DK3
|
PKG::crypto.RSA2048Decrypt(dk3_, key1[3], true); // decrypt DK3
|
||||||
|
|
Loading…
Reference in New Issue