Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-2984

Stop using deprecated kCFStreamPropertySSLPeerCertificates in TSSLSocketClient

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Do
    • 0.9.2
    • 0.13.0
    • Cocoa - Library
    • None

    Description

      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);
      

      Attachments

        Activity

          People

            jking3 James E. King III
            jeremyw.sherman Jeremy W. Sherman
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: