summaryrefslogtreecommitdiff
path: root/src/mongo/util/net/ssl_manager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/util/net/ssl_manager.cpp')
-rw-r--r--src/mongo/util/net/ssl_manager.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mongo/util/net/ssl_manager.cpp b/src/mongo/util/net/ssl_manager.cpp
index f61789a3ac7..967319c81c7 100644
--- a/src/mongo/util/net/ssl_manager.cpp
+++ b/src/mongo/util/net/ssl_manager.cpp
@@ -581,10 +581,6 @@ void SSLManager::SSL_free(SSLConnection* conn) {
Status SSLManager::initSSLContext(SSL_CTX* context,
const SSLParams& params,
ConnectionDirection direction) {
- if (direction == ConnectionDirection::kIncoming) {
- fassert(34364, context == _serverContext.get());
- }
-
// SSL_OP_ALL - Activate all bug workaround options, to support buggy client SSL's.
// SSL_OP_NO_SSLv2 - Disable SSL v2 support
// SSL_OP_NO_SSLv3 - Disable SSL v3 support