From 3a7200dbac61fc978bd4c1422723cc1a85a7f881 Mon Sep 17 00:00:00 2001 From: georgemoralis Date: Thu, 29 Feb 2024 12:39:03 +0200 Subject: [PATCH] Update src/core/file_format/pkg.cpp Co-authored-by: GPUCode <47210458+GPUCode@users.noreply.github.com> --- src/core/file_format/pkg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/file_format/pkg.cpp b/src/core/file_format/pkg.cpp index beaddc2d..7e5fc0c5 100644 --- a/src/core/file_format/pkg.cpp +++ b/src/core/file_format/pkg.cpp @@ -135,7 +135,7 @@ bool PKG::Extract(const std::string& filepath, const std::filesystem::path& extr } for (int i = 0; i < 7; i++) { - file.ReadRaw(key1[i].data(), key1[i].size()); + file.Read(key1); } PKG::crypto.RSA2048Decrypt(dk3_, key1[3], true); // decrypt DK3