From 3d57420c70819dcdaee0d2434a1a50788bb64db8 Mon Sep 17 00:00:00 2001 From: jakcron Date: Sat, 12 May 2018 00:20:39 +0800 Subject: [PATCH] [nstool] Fix typo importing --titlekey --- programs/nstool/source/UserSettings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/programs/nstool/source/UserSettings.cpp b/programs/nstool/source/UserSettings.cpp index 773709a..4f2f963 100644 --- a/programs/nstool/source/UserSettings.cpp +++ b/programs/nstool/source/UserSettings.cpp @@ -429,7 +429,7 @@ void UserSettings::populateKeyset(sCmdArgs& args) if (args.nca_titlekey.isSet) { - if (args.nca_bodykey.var.length() == (sizeof(crypto::aes::sAes128Key)*2)) + if (args.nca_titlekey.var.length() == (sizeof(crypto::aes::sAes128Key)*2)) { decodeHexStringToBytes("--titlekey", args.nca_titlekey.var, mKeyset.nca.manual_title_key_aesctr.key, sizeof(crypto::aes::sAes128Key)); }