mirror of
https://github.com/rvtr/ctr_Repair.git
synced 2025-10-31 13:51:08 -04:00
MAC検証失敗時にfalseを返すように
git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-05-23%20-%20ctr.7z%20+%20svn_v1.068.zip/ctr/svn/ctr_Repair@376 385bec56-5757-e545-9c3a-d8741f4650f1
This commit is contained in:
parent
04a8694cf1
commit
72a951dd25
@ -93,6 +93,10 @@
|
||||
return; \
|
||||
} \
|
||||
|
||||
#define COMMON_LOGGER_RETURN_FALSE(result) \
|
||||
COMMON_LOGGER_RESULT_WITH_LINE(result, __LINE__, __func__); \
|
||||
return false; \
|
||||
|
||||
namespace common
|
||||
{
|
||||
|
||||
|
||||
@ -674,6 +674,7 @@ bool ConfirmFile(nn::fs::FileInputStream* from_file, nn::fs::FileStream* to_file
|
||||
COMMON_LOGGER("**********Verification Failed %s, Delete**********\n", GetCharStr(sdPath));
|
||||
result = nn::fs::TryDeleteFile(tmpPath);
|
||||
COMMON_LOGGER_RETURN_FALSE_IF_FAILED(result);
|
||||
return false;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user