Skip to content

Commit 98fba86

Browse files
committed
SERVER-36452 Avoid compile failures on OS X if system headers add more SSLProtocol enum cases
1 parent 52ddf6e commit 98fba86

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/mongo/util/net/ssl_manager_apple.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1296,6 +1296,7 @@ void recordTLSVersion(::SSLContextRef ssl) {
12961296
case kTLSProtocol1Only:
12971297
case kSSLProtocolAll:
12981298
case kDTLSProtocol1:
1299+
default: // Some system headers may define additional protocols, so suppress warnings.
12991300
// Do nothing
13001301
break;
13011302
}

0 commit comments

Comments
 (0)