summaryrefslogtreecommitdiff
path: root/src/mongo/util
diff options
context:
space:
mode:
authorShreyas Kalyan <shreyas.kalyan@10gen.com>2020-03-04 10:49:39 -0500
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-03-17 20:10:44 +0000
commit7072788923796e747370621abcd6cb10c381a828 (patch)
treeb429eeb29cf91e97660313da070ab6ff645031e4 /src/mongo/util
parent13caf3c499a22c2274bd533043eb7e06e6f8e8a4 (diff)
downloadmongo-7072788923796e747370621abcd6cb10c381a828.tar.gz
SERVER-46413 Add tests for OCSP on Windows and OSX
Diffstat (limited to 'src/mongo/util')
-rw-r--r--src/mongo/util/net/ssl_manager_windows.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/util/net/ssl_manager_windows.cpp b/src/mongo/util/net/ssl_manager_windows.cpp
index 32259b8a27f..586d8cf3680 100644
--- a/src/mongo/util/net/ssl_manager_windows.cpp
+++ b/src/mongo/util/net/ssl_manager_windows.cpp
@@ -1358,9 +1358,9 @@ Status SSLManagerWindows::initSSLContext(SCHANNEL_CRED* cred,
cred->dwFlags = cred->dwFlags // flags
| SCH_CRED_REVOCATION_CHECK_CHAIN // Check certificate revocation
| SCH_CRED_SNI_CREDENTIAL // Pass along SNI creds
- | SCH_CRED_SNI_ENABLE_OCSP // Enable OCSP
| SCH_CRED_NO_SYSTEM_MAPPER // Do not map certificate to user account
| SCH_CRED_DISABLE_RECONNECTS; // Do not support reconnects
+
} else {
supportedProtocols = SP_PROT_TLS1_CLIENT | SP_PROT_TLS1_0_CLIENT | SP_PROT_TLS1_1_CLIENT |
SP_PROT_TLS1_2_CLIENT;
@@ -1370,8 +1370,8 @@ Status SSLManagerWindows::initSSLContext(SCHANNEL_CRED* cred,
| SCH_CRED_REVOCATION_CHECK_CHAIN // Check certificate revocation
| SCH_CRED_NO_SERVERNAME_CHECK // Do not validate server name against cert
| SCH_CRED_NO_DEFAULT_CREDS // No Default Certificate
- | SCH_CRED_MEMORY_STORE_CERT // Read intermediate certificates from memory store
- // associated with client certificate.
+ | SCH_CRED_MEMORY_STORE_CERT // Read intermediate certificates from memory
+ // store associated with client certificate.
| SCH_CRED_MANUAL_CRED_VALIDATION; // Validate Certificate Manually
}