mirror of
https://github.com/yuzu-emu/breakpad.git
synced 2024-11-28 07:14:18 +01:00
The method of calculating a binary ID using the LC_ID command isn't compatible with non-default build processes, most Mac consumers use LC_UUID anyway but for those that don't, MD5 is a better choice R=nealsid W=Ted.Mielczarek git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@313 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
parent
cadc8ddde9
commit
e1a7efca7d
@ -76,9 +76,6 @@ bool FileID::MachoIdentifier(int cpu_type, unsigned char identifier[16]) {
|
|||||||
if (macho.UUIDCommand(cpu_type, identifier))
|
if (macho.UUIDCommand(cpu_type, identifier))
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
if (macho.IDCommand(cpu_type, identifier))
|
|
||||||
return true;
|
|
||||||
|
|
||||||
return macho.MD5(cpu_type, identifier);
|
return macho.MD5(cpu_type, identifier);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user