correct assign to equal in cert trust expression

This commit is contained in:
Ce Zheng 2016-05-25 18:34:05 +09:00
parent 47891b81af
commit e4bf6584db
1 changed files with 1 additions and 1 deletions

View File

@ -199,7 +199,7 @@
CFRelease(certArrayRef);
}
//Did our custom trust chain evaluate successfully?
return trustResult = kSecTrustResultUnspecified || trustResult == kSecTrustResultProceed;
return trustResult == kSecTrustResultUnspecified || trustResult == kSecTrustResultProceed;
}
- (void) connection:(NSURLConnection *)connection willSendRequestForAuthenticationChallenge:(NSURLAuthenticationChallenge *)challenge