Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added kSecCSCheckAllArchitectures to the flags for code signing valid…

…ation so that inactive architecture binaries are checked as well in the update.
  • Loading branch information...
commit a59e8ff958589271a140fbaa051b7f61a1aaa1ce 1 parent 22b65a3
@andymatuschak andymatuschak authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  SUCodeSigningVerifier.m
View
2  SUCodeSigningVerifier.m
@@ -56,7 +56,7 @@ + (BOOL)codeSignatureIsValidAtPath:(NSString *)destinationPath error:(NSError **
goto finally;
}
- result = SecStaticCodeCheckValidityWithErrors(staticCode, kSecCSDefaultFlags, requirement, (CFErrorRef *)error);
+ result = SecStaticCodeCheckValidityWithErrors(staticCode, kSecCSDefaultFlags | kSecCSCheckAllArchitectures, requirement, (CFErrorRef *)error);
if (result != 0 && error) [*error autorelease];
finally:
Please sign in to comment.
Something went wrong with that request. Please try again.