From e4bf6584dbccec2c47c0bbe045233ed4e76493ee Mon Sep 17 00:00:00 2001 From: Ce Zheng Date: Wed, 25 May 2016 18:34:05 +0900 Subject: [PATCH] correct assign to equal in cert trust expression --- cocos/network/HttpAsynConnection-apple.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cocos/network/HttpAsynConnection-apple.m b/cocos/network/HttpAsynConnection-apple.m index 07b78478bd..e63174b798 100644 --- a/cocos/network/HttpAsynConnection-apple.m +++ b/cocos/network/HttpAsynConnection-apple.m @@ -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