diff options
author | Lioncash <mathew1800@gmail.com> | 2018-10-13 14:08:41 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-10-13 14:08:44 +0200 |
commit | 82ea1cf35a2b10bb7a2cfbaa0d9bac98fe5bb182 (patch) | |
tree | 22688d9a8a3858099f46decf88206907172cdf51 /src/core | |
parent | Merge pull request #1409 from DarkLordZach/key-derivation (diff) | |
download | yuzu-82ea1cf35a2b10bb7a2cfbaa0d9bac98fe5bb182.tar yuzu-82ea1cf35a2b10bb7a2cfbaa0d9bac98fe5bb182.tar.gz yuzu-82ea1cf35a2b10bb7a2cfbaa0d9bac98fe5bb182.tar.bz2 yuzu-82ea1cf35a2b10bb7a2cfbaa0d9bac98fe5bb182.tar.lz yuzu-82ea1cf35a2b10bb7a2cfbaa0d9bac98fe5bb182.tar.xz yuzu-82ea1cf35a2b10bb7a2cfbaa0d9bac98fe5bb182.tar.zst yuzu-82ea1cf35a2b10bb7a2cfbaa0d9bac98fe5bb182.zip |
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/crypto/key_manager.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/core/crypto/key_manager.cpp b/src/core/crypto/key_manager.cpp index a59a7e1f5..4ade67d23 100644 --- a/src/core/crypto/key_manager.cpp +++ b/src/core/crypto/key_manager.cpp @@ -152,7 +152,6 @@ boost::optional<Key128> DeriveSDSeed() { if (!sd_private.IsOpen()) return boost::none; - sd_private.Seek(0, SEEK_SET); std::array<u8, 0x10> private_seed{}; if (sd_private.ReadBytes(private_seed.data(), private_seed.size()) != 0x10) return boost::none; |