[ 
https://issues.apache.org/jira/browse/THRIFT-2984?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

James E. King III resolved THRIFT-2984.
---------------------------------------
       Resolution: Won't Do
         Assignee: James E. King III
    Fix Version/s: 1.0

As support for the older cocoa compiler and library have been removed (see 
THRIFT-4719), all of the issues in Jira related to that code have also been 
removed.  For legacy cocoa support you can use version 0.12.0 - everyone is 
expected to move to swift if they want to use the next release of Thrift.

> 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
>            Assignee: James E. King III
>            Priority: Major
>             Fix For: 1.0
>
>
> {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
(v7.6.3#76005)

Reply via email to