summaryrefslogtreecommitdiff
path: root/src/mongo/client/dbclient_base.h
diff options
context:
space:
mode:
authorMark Benvenuto <mark.benvenuto@mongodb.com>2021-05-03 10:10:01 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-05-03 14:43:41 +0000
commit57f8c0d7c31a5a01c76748ae725591d44e08a2a8 (patch)
tree0dec98fd1d546394acc4e7454081c573b4536add /src/mongo/client/dbclient_base.h
parent7d746afd02264f30e766caff7183bd2a8961c27d (diff)
downloadmongo-57f8c0d7c31a5a01c76748ae725591d44e08a2a8.tar.gz
SERVER-53605 Ensure replsettest.asCluster works with clusterAuthMode = x509
Diffstat (limited to 'src/mongo/client/dbclient_base.h')
-rw-r--r--src/mongo/client/dbclient_base.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mongo/client/dbclient_base.h b/src/mongo/client/dbclient_base.h
index 3d78e628a2f..8cb9288e771 100644
--- a/src/mongo/client/dbclient_base.h
+++ b/src/mongo/client/dbclient_base.h
@@ -780,6 +780,12 @@ public:
virtual bool isUsingTransientSSLParams() const {
return false;
}
+
+ virtual bool isTLS() = 0;
+#else
+ virtual bool isTLS() {
+ return false;
+ }
#endif
const ClientAPIVersionParameters& getApiParameters() const {