diff options
author | Sara Golemon <sara.golemon@mongodb.com> | 2018-08-29 18:14:39 +0000 |
---|---|---|
committer | Sara Golemon <sara.golemon@mongodb.com> | 2018-09-10 21:08:05 +0000 |
commit | 1070aa3880ac73bc1923b44a372c61c209a35f61 (patch) | |
tree | 7c306e5f83b026d59a13ed698b1b719d5753a27c /src/mongo/util/net/ssl_manager_windows.cpp | |
parent | 643fa66bfa58e17f70e528f2f2ed5b09c745b951 (diff) | |
download | mongo-1070aa3880ac73bc1923b44a372c61c209a35f61.tar.gz |
SERVER-36919 Add server setParameter tlsSuppressClientCertificate
Diffstat (limited to 'src/mongo/util/net/ssl_manager_windows.cpp')
-rw-r--r-- | src/mongo/util/net/ssl_manager_windows.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/util/net/ssl_manager_windows.cpp b/src/mongo/util/net/ssl_manager_windows.cpp index 7ac11406796..6ae5d567140 100644 --- a/src/mongo/util/net/ssl_manager_windows.cpp +++ b/src/mongo/util/net/ssl_manager_windows.cpp @@ -1301,7 +1301,7 @@ Status SSLManagerWindows::initSSLContext(SCHANNEL_CRED* cred, } if (direction == ConnectionDirection::kOutgoing) { - if (_clientCertificates[0]) { + if (_clientCertificates[0] && !params.tlsWithholdClientCertificate) { cred->cCreds = 1; cred->paCred = _clientCertificates.data(); } |