Minor reformatting

This commit is contained in:
Mattt Thompson 2013-04-17 18:39:50 +02:00
parent 9cbc749d40
commit b838dd85c1
3 changed files with 3 additions and 3 deletions

View file

@ -637,7 +637,7 @@ willSendRequestForAuthenticationChallenge:(NSURLAuthenticationChallenge *)challe
- (BOOL)connection:(NSURLConnection *)connection
canAuthenticateAgainstProtectionSpace:(NSURLProtectionSpace *)protectionSpace
{
if(self.allowsInvalidSSLCertificate == YES &&
if (self.allowsInvalidSSLCertificate &&
[protectionSpace.authenticationMethod isEqualToString:NSURLAuthenticationMethodServerTrust]) {
return YES;
}