Fix switch in Secure Transport recordTLSVersion()

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • ALL
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The current set of cases in SecureTransport's recordTLSVersion() explicitly leaves out kTLSProtocol13 because that enum value isn't defined in older OSX headers.  Unfortunately, this makes compiling with newer OSX headers broken since it's an unhandled enum value.

      We should either use a `default:` case to ignore it (it's already being ignored anyway), or find the right #ifdef to determine if the enum is defined and conditionally capture it.

            Assignee:
            Mark Benvenuto
            Reporter:
            Sara Golemon (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: