diff options
author | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2021-05-03 10:10:01 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-05-03 14:43:41 +0000 |
commit | 57f8c0d7c31a5a01c76748ae725591d44e08a2a8 (patch) | |
tree | 0dec98fd1d546394acc4e7454081c573b4536add /src/mongo/client/dbclient_base.h | |
parent | 7d746afd02264f30e766caff7183bd2a8961c27d (diff) | |
download | mongo-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.h | 6 |
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 { |