These SSL constants are deprecated since iOS 4.0

This commit is contained in:
Daniel Cohen Gindi 2014-12-14 10:33:36 +02:00
parent 88be5b33c6
commit 8e2e451e9c
1 changed files with 0 additions and 3 deletions

3
StreamingKit/StreamingKit/STKHTTPDataSource.m Normal file → Executable file
View File

@ -355,9 +355,6 @@
{
NSDictionary* sslSettings = [NSDictionary dictionaryWithObjectsAndKeys:
(NSString*)kCFStreamSocketSecurityLevelNegotiatedSSL, kCFStreamSSLLevel,
[NSNumber numberWithBool:YES], kCFStreamSSLAllowsExpiredCertificates,
[NSNumber numberWithBool:YES], kCFStreamSSLAllowsExpiredRoots,
[NSNumber numberWithBool:YES], kCFStreamSSLAllowsAnyRoot,
[NSNumber numberWithBool:NO], kCFStreamSSLValidatesCertificateChain,
[NSNull null], kCFStreamSSLPeerName,
nil];