Added kSecCSCheckAllArchitectures to the flags for code signing validation so that inactive architecture binaries are checked as well in the update.

This commit is contained in:
Andy Matuschak committed 2012-07-24 09:08:42 -07:00
1 parent 22b65a3095
commit a59e8ff958
1 file changed
+1 -1
+1 -1
View File
@@ -56,7 +56,7 @@ extern OSStatus SecStaticCodeCheckValidityWithErrors(SecStaticCodeRef staticCode
goto finally;
}
result = SecStaticCodeCheckValidityWithErrors(staticCode, kSecCSDefaultFlags, requirement, (CFErrorRef *)error);
result = SecStaticCodeCheckValidityWithErrors(staticCode, kSecCSDefaultFlags | kSecCSCheckAllArchitectures, requirement, (CFErrorRef *)error);
if (result != 0 && error) [*error autorelease];
finally: