[SERVER-36452] Avoid compile failures on OS X if system headers add more SSLProtocol enum cases Created: 03/Aug/18  Updated: 29/Oct/23  Resolved: 30/Aug/18

Status: Closed
Project: Core Server
Component/s: Security
Affects Version/s: None
Fix Version/s: 4.1.3

Type: Improvement Priority: Major - P3
Reporter: Geert Bosch Assignee: Geert Bosch
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by SERVER-36866 Fix switch in Secure Transport record... Closed
Backwards Compatibility: Fully Compatible
Sprint: Storage NYC 2018-09-10
Participants:

 Description   

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) {
            ^



 Comments   
Comment by Githook User [ 14/Sep/18 ]

Author:

{'name': 'Geert Bosch', 'email': 'geert@mongodb.com', 'username': 'GeertBosch'}

Message: SERVER-36452 Avoid compile failures on OS X if system headers add more SSLProtocol enum cases

(cherry picked from commit 98fba86b404ddddb8d66f9751817e11a3d732ccd)
Branch: v4.0
https://github.com/mongodb/mongo/commit/97e003df2cbfab58cfb5a642761e0c5b67b60a0b

Comment by Githook User [ 30/Aug/18 ]

Author:

{'name': 'Geert Bosch', 'email': 'geert@mongodb.com', 'username': 'GeertBosch'}

Message: SERVER-36452 Avoid compile failures on OS X if system headers add more SSLProtocol enum cases
Branch: master
https://github.com/mongodb/mongo/commit/98fba86b404ddddb8d66f9751817e11a3d732ccd

Generated at Thu Feb 08 04:43:08 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.