Avoid compile failures on OS X if system headers add more SSLProtocol enum cases

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.1.3
    • Affects Version/s: None
    • Component/s: Security
    • None
    • Fully Compatible
    • Storage NYC 2018-09-10
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      src/mongo/util/net/ssl_manager_apple.cpp:1253:13: error: enumeration values 'kTLSProtocol13' and
            'kTLSProtocolMaxSupported' not handled in switch [-Werror,-Wswitch]
          switch (protocol) {
                  ^
      src/mongo/util/net/ssl_manager_apple.cpp:1253:13: note: add missing switch cases
          switch (protocol) {
                  ^
      

            Assignee:
            Geert Bosch
            Reporter:
            Geert Bosch
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: