forked from Mirror/GodMode9
Fixed CMAC fixing
This commit is contained in:
parent
0956e62b9b
commit
a4e061aea6
@ -587,7 +587,7 @@ u32 CmacCalculator(const char* path) {
|
||||
pathstr, getbe64(cmac + 0), getbe64(cmac + 8),
|
||||
"CMAC verification: ", (identical) ? "passed!" : "failed!",
|
||||
(!identical) ? "\n \nFix CMAC in file?" : "") &&
|
||||
!identical && (WriteFileCmac(path, cmac_file) != 0)) {
|
||||
!identical && (WriteFileCmac(path, cmac) != 0)) {
|
||||
ShowPrompt(false, "Fixing CMAC: failed!");
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user