Skip to content

Instantly share code, notes, and snippets.

@rphillips
Created March 3, 2011 04:34
Show Gist options
  • Save rphillips/852338 to your computer and use it in GitHub Desktop.
Save rphillips/852338 to your computer and use it in GitHub Desktop.
diff --git a/Classes/Library/AsyncSocketExtensions.m b/Classes/Library/AsyncSock
index 66d7c09..b18cdfa 100644
--- a/Classes/Library/AsyncSocketExtensions.m
+++ b/Classes/Library/AsyncSocketExtensions.m
@@ -18,13 +18,13 @@ static NSString *txCFStreamErrorDomainSSL = @"txCFStreamErro
[settings setObject:CFItemRefToID(kCFStreamSocketSecurityLevelNegotiated
[settings setObject:CFItemRefToID(kCFNull)
+ [settings setObject:CFItemRefToID(kCFBooleanFalse) forKey:CFItemRef
if (client.config.isTrustedConnection) {
[settings setObject:CFItemRefToID(kCFBooleanFalse) forKey:C
[settings setObject:CFItemRefToID(kCFBooleanTrue) forKey:C
[settings setObject:CFItemRefToID(kCFBooleanTrue) forKey:C
[settings setObject:CFItemRefToID(kCFBooleanTrue) forKey:C
- [settings setObject:CFItemRefToID(kCFBooleanFalse) forKey:C
}
[self startTLS:settings];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment