Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-36866

Fix switch in Secure Transport recordTLSVersion()

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • ALL

    Description

      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.

      Attachments

        Activity

          People

            mark.benvenuto@mongodb.com Mark Benvenuto
            sara.golemon@mongodb.com Sara Golemon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: