mirror of
https://github.com/d0k3/GodMode9.git
synced 2025-06-26 13:42:47 +00:00
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),
|
pathstr, getbe64(cmac + 0), getbe64(cmac + 8),
|
||||||
"CMAC verification: ", (identical) ? "passed!" : "failed!",
|
"CMAC verification: ", (identical) ? "passed!" : "failed!",
|
||||||
(!identical) ? "\n \nFix CMAC in file?" : "") &&
|
(!identical) ? "\n \nFix CMAC in file?" : "") &&
|
||||||
!identical && (WriteFileCmac(path, cmac_file) != 0)) {
|
!identical && (WriteFileCmac(path, cmac) != 0)) {
|
||||||
ShowPrompt(false, "Fixing CMAC: failed!");
|
ShowPrompt(false, "Fixing CMAC: failed!");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user