summaryrefslogtreecommitdiff
path: root/src/mongo/util/net/ssl_manager.cpp
diff options
context:
space:
mode:
authorSara Golemon <sara.golemon@mongodb.com>2018-09-20 14:32:38 +0000
committerSara Golemon <sara.golemon@mongodb.com>2018-09-20 19:26:53 +0000
commit64672e68a25e1c4c53a9e1e974036b02fdda2cc5 (patch)
tree411d42364df9f566bc04436e1b4bb501cc1bf590 /src/mongo/util/net/ssl_manager.cpp
parent630eabac0591f207b29b6be014257387a9a7a904 (diff)
downloadmongo-64672e68a25e1c4c53a9e1e974036b02fdda2cc5.tar.gz
SERVER-37222 Add ssl* deprecated aliases for tlsClusterCAFile and tlsWithholdClientCertificate
Diffstat (limited to 'src/mongo/util/net/ssl_manager.cpp')
-rw-r--r--src/mongo/util/net/ssl_manager.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mongo/util/net/ssl_manager.cpp b/src/mongo/util/net/ssl_manager.cpp
index 59601090989..6a4a39c8d2a 100644
--- a/src/mongo/util/net/ssl_manager.cpp
+++ b/src/mongo/util/net/ssl_manager.cpp
@@ -68,6 +68,12 @@ ExportedServerParameter<bool, ServerParameterType::kStartupOnly> tlsWithholdClie
"tlsWithholdClientCertificate",
&sslGlobalParams.tlsWithholdClientCertificate);
+// Deprecated alias for tlsWithholdClientCertificate
+ExportedServerParameter<bool, ServerParameterType::kStartupOnly> sslWithholdClientCertificate(
+ ServerParameterSet::getGlobal(),
+ "sslWithholdClientCertificate",
+ &sslGlobalParams.tlsWithholdClientCertificate);
+
} // namespace
class OpenSSLCipherConfigParameter