[
https://issues.apache.org/jira/browse/THRIFT-2984?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14638937#comment-14638937
]
Axel Niklasson commented on THRIFT-2984:
----------------------------------------
We've replaced use of kCFStreamPropertySSLPeerCertificates in TSSLSocketClient
due to a crash, fix is in a fork. Will clean it up and submit pull request
shortly.
> Stop using deprecated kCFStreamPropertySSLPeerCertificates in TSSLSocketClient
> ------------------------------------------------------------------------------
>
> Key: THRIFT-2984
> URL: https://issues.apache.org/jira/browse/THRIFT-2984
> Project: Thrift
> Issue Type: Bug
> Components: Cocoa - Library
> Affects Versions: 0.9.2
> Reporter: Jeremy W. Sherman
>
> {code}
> thrift/lib/cocoa/src/transport/TSSLSocketClient.m:143:103: warning:
> 'kCFStreamPropertySSLPeerCertificates' is deprecated: first deprecated in iOS
> 4.0 [-Wdeprecated-declarations]
> CFBridgingRetain((__bridge id)((__bridge CFArrayRef)([aStream
> propertyForKey:(NSString *) kCFStreamPropertySSLPeerCertificates])));
>
> ^
> In module 'CFNetwork' imported from
> thrift/lib/cocoa/src/transport/TSSLSocketClient.m:31:
> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFSocketStream.h:593:30:
> note: 'kCFStreamPropertySSLPeerCertificates' has been explicitly marked
> deprecated here
> CFN_EXPORT const CFStringRef kCFStreamPropertySSLPeerCertificates
> CF_DEPRECATED(10_4, 10_6, 2_0, 4_0);
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)