Fixed condition

This commit is contained in:
Kornel Lesiński committed 2015-07-01 09:54:46 +01:00
1 parent efdf9d4421
commit 99dedafc67
1 file changed
+1 -1
+1 -1
View File
@@ -281,7 +281,7 @@
NSString *dsaStatus = newPublicDSAKey ? @"has a new DSA key that doesn't match the previous one" : (publicDSAKey ? @"removes the DSA key" : @"isn't signed with a DSA key");
if (!hostIsCodeSigned || !updateIsCodeSigned) {
NSString *acsStatus = hostIsCodeSigned ? @"old app hasn't been signed with Apple Code Signing" : @"update isn't signed with Apple Code Signing";
NSString *acsStatus = !hostIsCodeSigned ? @"old app hasn't been signed with Apple Code Signing" : @"update isn't signed with Apple Code Signing";
SULog(@"The update %@, and the %@. At least one method of signature verification must be valid. The update will be rejected.", dsaStatus, acsStatus);
return NO;
}